You need to sign in to do that
Don't have an account?

Ceiling of Number
hi all,
How to use CEILING in apex controller.
For Ex: i want to use 1.1 as 2 in my calculation . how can i acheive this?
You need to sign in to do that
Don't have an account?
hi all,
How to use CEILING in apex controller.
For Ex: i want to use 1.1 as 2 in my calculation . how can i acheive this?
Hi,
you can use the round method on a decimal instance, for example;
see here for the documentation on the rounding modes;
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_decimal.htm#apex_decimal_rounding_mode
Thanks,
James.