Sunset, sunrise, twilight calculations in LC?
Richmond
richmondmathewson at gmail.com
Sat Aug 23 14:05:17 EDT 2014
On 23/08/14 20:44, J. Landman Gay wrote:
> On 8/23/2014, 11:20 AM, Richmond wrote:
>> That "floored me" :) Thanks for the heads up!
>>
>> I just wrote this in the Message Box:
>>
>> put trunc(-9.8)
>>
>> and got '-9'
>
> The correct answer for "floor" would be -10. It's the largest integer
> that is less than the test number.
>
put round(-9.8_
give us 10
Yo!
Richmond.
More information about the use-livecode
mailing list