Re: New Thread Single items to number for Edit "Box" Solved

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello Lonny

I have attached your code below

If I enter 4 in decimal number

I get 1'a' instead of 10
and maybe 1|' instead of 10

So what is wrong ??

 
 while n1 != 0 do 
       	seq = prepend(seq, remainder(n1,2)) 
	n1 = floor(n1/2) 
        seq += 48 
        setText(EditText2, sprintf("%s", {seq})) 
 end while 

Cheers

Selgor

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu