[SOLVED]moving the point(.) in a number
Posted: Tue Jun 08, 2004 7:25 am
i want to take any number between
1.999 withought knowing in advance
its value
and to make it 0.something
(which means to move the dot to the lfet until the first time i get 0. )
for example
947->0.947
43->0.43
and so on
how can i do that>?
thnaks i nadvance
peelg
1.999 withought knowing in advance
its value
and to make it 0.something
(which means to move the dot to the lfet until the first time i get 0. )
for example
947->0.947
43->0.43
and so on
how can i do that>?
thnaks i nadvance
peelg