G
Guest
I need to be able to take any dollar amount, such as 25103.34, and
multiply it by 0.0000056. Then I need to take the result and truncate
everything after the fifth decimal place, so if the result is
0.140578704, then I will have 0.14057. Then I need to round up to the
nearest cent (ceiling function), so if I have 0.14057, then the result
will be 0.15. What would be the easiest way to achieve this?
multiply it by 0.0000056. Then I need to take the result and truncate
everything after the fifth decimal place, so if the result is
0.140578704, then I will have 0.14057. Then I need to round up to the
nearest cent (ceiling function), so if I have 0.14057, then the result
will be 0.15. What would be the easiest way to achieve this?