Next: , Previous: Integer-bit operators, Up: Integer


1.89.5 Integer: converting

asCharacter
Return self as a Character or UnicodeCharacter object.


asFraction
Return the receiver converted to a fraction


asScaledDecimal: n
Answer the receiver, converted to a ScaledDecimal object. The scale is forced to be 0.


ceiling
Return the receiver - it's already truncated


coerce: aNumber
Coerce aNumber to the receiver's class.


floor
Return the receiver - it's already truncated


rounded
Return the receiver - it's already truncated


truncated
Return the receiver - it's already truncated