Skip to Content
0
Former Member
Feb 13, 2012 at 03:38 AM

Round to whole number

32 Views

Hi,

I have to round the decimal to four places by multiplying with 10, 100, 1000 etc and make it a whole number in the output.

For example if the value is 0.1234 i have to multiply with 10,000 to make it 1234. If it is 12.34 then multiply with 100 to make it 1234 etc.

Appreciate your suggestions.

Arun