Next: Number-copying, Previous: Number-comparing, Up: Number [Index]
Return the receiver, converted to a Fraction retaining the exact value of the receiver.
Convert the receiver to an arbitrary subclass of Float
This method’s functionality should be implemented by subclasses of Number
This method’s functionality should be implemented by subclasses of Number
This method’s functionality should be implemented by subclasses of Number
This method’s functionality should be implemented by subclasses of Number
Answer the receiver, since it is already a number
Answer an empty rectangle whose origin is (self asPoint)
Answer the receiver, converted to a ScaledDecimal object.
Answer the receiver, divided by base^denDigits and converted to a ScaledDecimal object.
Answer the receiver’s #displayString, which should be a good enough conversion to String for a number.
Answer aNumber, converted to an integer or floating-point number.
Convert the receiver to radians
Answer the receiver’s generality
Convert the receiver from radians to degrees
Coerce 1 to the receiver’s class. The default implementation works, but is inefficient
Coerce 0 to the receiver’s class. The default implementation works, but is inefficient