Thread
:
number to word with decimals
View Single Post
#
4
(
permalink
)
08-30-2008, 05:12 AM
Norm
Senior Member
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
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