next up previous contents
Next: Rules Structure Up: Prolog Previous: Modules

Rounding

In HYPeR all decimal numbers are round down to the nearest unsigned integer. A negative decimal number is rounded exactly like a positive, but with the ``-`` sign. This rule is not true for Character Points (CP). CP must be treated like normal decimal numbers, so if you want to raise BS by 1 you have to pay \( \frac{1}{3} \)CP and not 0!

Example:
4.4 is rounded to 4, 4.5 is rounded to 4 and so on. -4.4 is rounded to -4 and so is -4.5 rounded to 4



Michael Sachau
1998-09-02