Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: percent! - new datatype request

From: anton:lexicon at: 7-Jun-2002 4:35

To be consistent, 100 * 50% should give 5000%. Addition and subtraction between integer and percent types is ambiguous. What would you expect from 200 - 50% ? There are four different, but all, depending on your point of view, correct, possibilities. Just remember that % means "per cent", or "divided by 100". So 100% is not the same as 100. Not a bad idea overall, though. Regards, Anton.