Literals/Integer: Difference between revisions

add RPL
(add RPL)
Line 2,042:
Binary literal = 1234
</pre>
 
Unsigned integers, which must begin with <code>#</code>, can be expressed in binary, octal, decimal or hexadecimal. A final lowercase letter defines the base.
#100111010b
#472o
#314d
#13Ah
 
=={{header|Ruby}}==
1,151

edits