OCT$ Function Programming Example
◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
'This example uses the OCT$ function to display the octal version of several
'decimal numbers.
PRINT "The octal representation of decimal 24 is " OCT$(24)
PRINT "The octal representation of decimal 55 is " OCT$(55)
PRINT "The octal representation of decimal 101 is " OCT$(101)
'Sample Output
'
'The octal representation of decimal 24 is 30
'The octal representation of decimal 55 is 67
'The octal representation of decimal 101 is 145