Octal number : oct « Data Type « Perl






Octal number

   

#!/usr/bin/perl -w

print 0377,       "\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 numerals starting with 0x
4.Using oct function to convert number to octal numbers
5.oct("178")
6.octal data
7.Reads any kind of integer.