Colin.

That would be a great feature. But trunc() takes no second param. I will ask 
for one, though.


Craig



-----Original Message-----
From: Colin Holgate <[email protected]>
To: How to use LiveCode <[email protected]>
Sent: Wed, Feb 4, 2015 11:56 am
Subject: Re: Troubles with inequality


Round has a problem in that rounding could change the nature of something. For 
example, you want to see if 1.9995 is similar to 1.9994, but you end up 
checking 
1.9 against 2.0. One nice addition would be to give Trunk the same second 
parameter that Round has. Then you would keep the nature of the string.



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

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

Reply via email to