الانتقال إلى المحتوى

سؤال عن Round Function


صفر في الاوراكل

Recommended Posts

السلام عليكم

 

 

the increasing rate 15.5%  will be 15.5/100  = 0.155  you will multiply by salary to get the increasing amount

and to get the new salary add the increasing amount to the old salary

 

new salary will be  salary + (0.155 * salary) ---> you can write as  new_salary = salary * 1.155 

 

an example

Salary = 1000 and rate = 15%   so the new salary will be calculated as

new salary = (1000 * 0.15) + 1000 = 1150

and can be written as new salary = 1000 * 1.15 = 1150

 

 

It is a mathematical issue   :rolleyes: not related to round statement 

 

Best Regards

تم تعديل بواسطة AElsaber
رابط هذا التعليق
شارك

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية