Skip to Content
0
May 21, 2008 at 02:22 PM

Problem with Decimals

9 Views

Hi Experts,

I have a problem with Decimals.

I have a number like 101.23 which should be converted to 102.

If a number has decimals then the integer part should be incremented by 1.

For Eg: 0.23 should be converted to 1.

0.87 should be converted to 1.

9.01 should be converted to 1.

Guide me on this.

Thanks

Kumar