function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
When there is two digit in decimal, getting 43. If it is one digit in decimal, the system is taking 42.
Eg.1:
Decimal Lowval = Math.round(42.51);
system.debug('Lowval== '+Lowval );
O/p - Lowval 43
Eg.2:
Decimal Lowval = Math.round(42.6);
system.debug('Lowval== '+Lowval );
O/p - Lowval 43
Thanks,