GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

converting .123456 to 123456

ultimaultima Posts: 1,207Member, PRO

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

Comments

Sign In or Register to comment.