Next: , Previous: , Up: Integer   [Index]


1.92.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

printOn: aStream paddedWith: padding to: size

Print on aStream the base 10 representation of the receiver, padded if necessary to size characters with copies of padding.

printOn: aStream paddedWith: padding to: size base: baseInteger

Print on aStream the base b representation of the receiver, padded if necessary to size characters with copies of padding.

printPaddedWith: padding to: size

Return the base baseInteger representation of the receiver, padded if necessary to size characters with copies of padding.

printPaddedWith: padding to: size base: baseInteger

Return the base baseInteger representation of the receiver, padded if necessary to size characters with copies of padding.

printString

Return the base 10 representation of the receiver

printString: baseInteger

Return the base baseInteger representation of the receiver

printStringRadix: baseInteger

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

radix: baseInteger

Return the base baseInteger 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


Next: , Previous: , Up: Integer   [Index]