rounding up with < .5 ?

Dar Scott dsc at swcp.com
Fri Mar 15 00:40:01 EST 2002


On Thursday, March 14, 2002, at 09:21 PM, Jacqueline Landman Gay wrote:

> The above works fine, but just for the record, there is also the 
> "is an integer" test:
>
>   put 1 is an integer -- TRUE
>   put 2.3 is an integer -- FALSE

When I looked in the dictionary by entering "integer" in the find 
field, I came up with nothing.  So, just as Gary did, I used 
trunc(n)=n.  I now see I should have entered "is a" into the find 
field.

Dar Scott
Who depends on the Transcript Dictionary





More information about the use-livecode mailing list