Re: newbie question: real with fraction to int
Re: newbie question: real with fraction to int
- Subject: Re: newbie question: real with fraction to int
- From: Arthur Knapp <email@hidden>
- Date: Fri, 24 Oct 2003 15:33:55 -0400
Date: Sat, 25 Oct 2003 01:39:04 +1000
From: leo <email@hidden>
Subject: newbie question: real with fraction to int
set i to 9.5 as integer
set i to 9.5 div 1 --> 9, integer division
(* ROUNDING HACK:
*)
set i to {9.5} as integer --> 10
{ Arthur J. Knapp;
<
mailto:email@hidden>;
What...? Oh...!
}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.