• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: newbie question: real with fraction to int
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Quark 5.01 scripting syntax
  • Next by Date: Re: Quark 5.01 scripting syntax
  • Previous by thread: Re: newbie question: real with fraction to int
  • Next by thread: Re: newbie question: real with fraction to int
  • Index(es):
    • Date
    • Thread