• 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
Crunch numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crunch numbers


  • Subject: Crunch numbers
  • From: email@hidden
  • Date: Wed, 13 Mar 2002 14:57:41 +0100

Hi all,

How do I get the nearest value?

set x to "2,84"
set y to "135,7"
y / x

--Result: 47.781690140845
--Crunch this number to the nearest highest value "47,8"

Best regards
Peter Mathiessen
_______________________________________________
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.

  • Follow-Ups:
    • Re: Crunch numbers
      • From: Martin Crisp <email@hidden>
    • Re: Crunch numbers
      • From: Deivy Petrescu <email@hidden>
    • Re: Crunch numbers
      • From: Mark Butcher <email@hidden>
  • Prev by Date: Re: form validation
  • Next by Date: Re: Question: Arrays and Matrixes
  • Previous by thread: special thanks - It is working!!!!!
  • Next by thread: Re: Crunch numbers
  • Index(es):
    • Date
    • Thread