Next: , Previous: Integer-math methods, Up: Integer


1.89.9 Integer: printing

displayOn: aStream
Print on aStream the base 10 representation of the receiver


displayString
Return the base 10 representation of the receiver


isLiteralObject
Answer whether the receiver is expressible as a Smalltalk literal.


printOn: aStream
Print on aStream the base 10 representation of the receiver


printOn: aStream base: b
Print on aStream the base b representation of the receiver


printString
Return the base 10 representation of the receiver


printString: baseInteger
Return the base b representation of the receiver


printStringRadix: baseInteger
Return the base b representation of the receiver, with BBr in front of it

instead

radix: baseInteger
Return the base b representation of the receiver, with BBr in front of it. This method is deprecated, use #printStringRadix: instead.


storeLiteralOn: aStream
Store on aStream some Smalltalk code which compiles to the receiver


storeOn: aStream base: b
Print on aStream Smalltalk code compiling to the receiver, represented in base b