oct("178") : oct « Data Type « Perl






oct("178")

   


#!/usr/bin/perl -w

print oct("178"), "\n";

   
    
    
  








Related examples in the same category

1.Convert a number with the hex() or oct()
2.Illegal octal number: with 8 inside
3.Octal number
4.Octal numerals starting with 0x
5.Using oct function to convert number to octal numbers
6.octal data
7.Reads any kind of integer.