Re: How do I get the decimals?
Re: How do I get the decimals?
- Subject: Re: How do I get the decimals?
- From: "John W. Baxter" <email@hidden>
- Date: Thu, 29 Jul 2004 18:57:41 -0700
On 7/29/2004 18:36, "LuKreme" <email@hidden> wrote:
>
On 29 Jul 2004, at 16:35, Adam K. Wuellner wrote:
>
> On Jul 29, 2004, at 4:55 PM, Michelle Steiner wrote:
>
>> If you want just the fraction,
>
>>
>
>> 266 / 11 - 266 div 11
>
>>
>
>> --> 0.181818181818
>
>>
>
>
>
> or a two-operation version:
>
>
>
> 266 mod 11 / 11
>
Probably equal precedence with left-to-right within the precedence group.
That seems to be how it acts, anyhow...
10 mod 2 * 3 --> 0
10 mod (2 * 3) --> 4
10 * (2 mod 3) --> 20
10 * 2 mod 3 --> 2
Manual not at hand.
---John
_______________________________________________
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.