Thread
:
number to word with decimals
View Single Post
#
4
(
permalink
)
08-30-2008, 04:12 AM
Norm
Senior Member
Join Date: Jun 2008
Location: SouthWest Missouri, USA
Posts: 2,229
Rep Power:
4
To convert 345678 to 3456.78 divide by 100.
To get the remainder use modulus:
int rem = num % 100;
Norm
View Public Profile
Send a private message to Norm
Visit Norm's homepage!
Find all posts by Norm