• 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 : greater than AND less than
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re : greater than AND less than


  • Subject: Re : greater than AND less than
  • From: Bill <email@hidden>
  • Date: Tue, 28 Aug 2001 08:43:59 +0800

Hello Sean,

If you don't mind using if...end if, try this method :

if finalAverage > 100 then
return "Please check the input, it's greater than 100."
else if finalAverage b % 96.5 then
return "A+"
else if finalAverage b % 92.5 then
return "A"
else if finalAverage b % 89.5 then
return "A-"
else if finalAverage b % 86.5 then
return "B+"
else if finalAverage b % 82.5 then
return "B"
else if finalAverage b % 79.5 then
return "B-"
else if finalAverage b % 76.5 then
return "C+"
else if finalAverage b % 72.5 then
return "C"
else if finalAverage b % 69.5 then
return "C-"
else if finalAverage b % 64.5 then
return "D"
else if finalAverage b % 0 then
return "F"
else if finalAverage < 0 then
return "Please check the input, it's negative."
end if


Bye
Bill


  • Prev by Date: Re: Change a File's Creation Date (OS 9.1)
  • Next by Date: Re: mail script...help needed
  • Previous by thread: Printing Quark Files to PDF Files
  • Next by thread: Waiting for completion
  • Index(es):
    • Date
    • Thread