[Tutor] How to ignore some decimal values?
Titu Kim
kimtitu@yahoo.com
Wed, 16 Jan 2002 22:26:30 -0800 (PST)
Hi there,
Do someone has any idea on keeping the floor value
of a fixed decimal point n? For instance:
a=12.3451
b=0.5699
c=0.0
How can i make a,b, and c become float values as
a=12.34
b=0.56
c=0.00
if my n=2. If n=3
a=12.345
b=0.569
c=0.000
Thanks for any suggestion?
Regards,
Kim Titu
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/