Skip to Content
0
Former Member
Sep 09, 2009 at 05:15 AM

How to convert decimal value to roundoff numeric value.

489 Views

Hai ,

I have an reqirement as to convert decimal value to numeric value and to display the numeric value in words.

eg., i have Amount = 1225.75

i need to get output as 1226 and to display as

One thousand two hundred and twenty six.

I tried finding solution for this in forums, i got answer for converting in words but for conversion of numeric i dint get solution.

Please help me for this requirement.