Oct number with 0o : octal numbers « Number « Ruby






Oct number with 0o


puts 0o100                          # => 64

 

Related examples in the same category

1.convert string to oct
2.Convert string to integer (oct)