--- a/Fraction.st Mon May 22 15:13:06 2017 +0200
+++ b/Fraction.st Mon May 22 15:13:07 2017 +0200
@@ -45,29 +45,29 @@
Notice, that all operations on fractions reduce their result; this means, that
the result of a fraction-operation may return an integer.
Aka:
- (1 / 7) * 7 -> 1 (not 0.99999999...)
+ (1 / 7) * 7 -> 1 (not 0.99999999...)
Mixed mode arithmetic:
- fraction op fraction -> fraction/integer
- fraction op fix -> fix; scale is fix's scale
- fraction op integer -> fraction/integer
- fraction op float -> float
+ fraction op fraction -> fraction/integer
+ fraction op fix -> fix; scale is fix's scale
+ fraction op integer -> fraction/integer
+ fraction op float -> float
[classVariables:]
- PrintWholeNumbers Booolean experimental:
- controls how fractions which are greater than 1 are printed.
- if true, print them as a sum of an integral and the fractional part.
- (Large ones are easier to read this way)
- (17/3) printString -> '(5+(2/3))'
- for now, the default is false, for backward compatibility
+ PrintWholeNumbers Boolean experimental:
+ controls how fractions which are greater than 1 are printed.
+ if true, print them as a sum of an integral and the fractional part.
+ (Large ones are easier to read this way)
+ (17/3) printString -> '(5+(2/3))'
+ for now, the default is false, for backward compatibility
[author:]
- Claus Gittinger
+ Claus Gittinger
[see also:]
- Number
- FixedPoint Float ShortFloat LongFloat Integer Complex
+ Number
+ FixedPoint Float ShortFloat LongFloat Integer Complex
"
! !