• 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: Percentage Math help for a Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Percentage Math help for a Script


  • Subject: Re: Percentage Math help for a Script
  • From: Michael Vogt <email@hidden>
  • Date: Sun, 12 Sep 2004 06:15:51 -0500

If the user is typing in the numbers (as in 70 for 70%) then
     number = 100/userInput

If you are calculating the numbers inside your code, you'll have them as decimals so then
number = 1/decimal


On Sep 12, 2004, at 3:43 AM, email@hidden wrote:

Hello,

I have some percentages that I need to get back to the 100.

Example:

70%   times what number equals 100%?

.7 times what number eauals 1.0?

140% times what number equals 100%?

The percentages can be any number.

Any help, I already looked to online math sites?



Thanks,

Jason Bourque




Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Mount remote volume
  • Next by Date: Re: Chevrons test
  • Previous by thread: Re: Percentage Math help for a Script
  • Next by thread: Re: Percentage Math help for a Script
  • Index(es):
    • Date
    • Thread