The numberformat only affect the appearance of the number, not its value. If 
you want to compare them based on the appearance characters, you can compare 
them as strings instead of numbers. Try this:

on mouseUp
   put 1.234567 into temp
   put 1.2345678 into aa
   set the numberFormat to "0.###"
   put temp * 1 into temp
   put aa * 1 into aa
   answer aa = temp
   answer word 1 of aa = word 1 of temp
   answer word 1 of aa
end mouseUp


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to