Troubles with inequality
dunbarx at aol.com
dunbarx at aol.com
Wed Feb 4 12:12:00 EST 2015
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 <coiin at verizon.net>
To: How to use LiveCode <use-livecode at lists.runrev.com>
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
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list