Converting numbers to text and back

Dar Scott dsc at swcp.com
Fri Nov 29 20:59:01 EST 2002


On Friday, November 29, 2002, at 06:33 PM, Ken Ray wrote:

> I'm not sure what you mean...

I'll make this up on the fly and test later; you should get the idea:

on mouseUp
   put random(20)/random(20) * 10 ^ (random(100)-50) into x
   set numberFormat to "0.000"
   put x & empty into y
   put y + 0 into z
   put x = z
end mouseUp

I want to change the value set to numberFormat so this is true.

Dar




More information about the use-livecode mailing list