Sunset, sunrise, twilight calculations in LC?

Richmond richmondmathewson at gmail.com
Sat Aug 23 14:28:57 EDT 2014


On 23/08/14 21:13, Charles E Buchwald wrote:
> So I'm thinking...
>
> function Floor pValue
>     if pValue < 0 then return trunc(pValue) - 1
>     else return trunc(pValue)
> end Floor
>
>

Quite unnecessary when 'round' does the trick without
any homegrown functions.

Richmond.




More information about the use-livecode mailing list