Re: magic integer converter number 62?
Re: magic integer converter number 62?
- Subject: Re: magic integer converter number 62?
- From: "Arthur J Knapp" <email@hidden>
- Date: Wed, 21 Feb 2001 12:17:55 -0500
>
Date: Tue, 20 Feb 2001 00:54:11 -0800 (PST)
>
From: =?iso-8859-1?q?M=20Shaw?= <email@hidden>
>
Subject: Re: magic integer converter number 62? (John W Baxter)
>
on floor(num)
>
return (((100 + (num - (num mod 1))) - 100) as integer)
>
end int
Question: Floor as in "round down to lowest integer"?
That's basically just another way of saying, "take a real
and throw away the decimal".
on floor(num)
return num div 1
end floor
--
{
Arthur J Knapp, of STELLARViSIONs ;
http://www.STELLARViSIONs.com ;
mailto:email@hidden ;
http://developer.apple.com/techpubs/
macos8/InterproCom/AppleScriptScripters/
AppleScriptLangGuide/
}