converting .123456 to 123456

ultimaultima Member, PRO Posts: 1,207

converting say .123456 to 123456

Hi guys, does anyone have a solution for this? (if you don't know how many digits there are)

I tried to use a loop until function and multiply the number by 10 and checking if number - padint(number) is = 0

this solution gave me a weird number like 1234559999998


Sign In or Register to comment.