perlnumber
perlnumber
- NAME
- SYNOPSIS
- DESCRIPTION
- Storing numbers
- Numeric operators and numeric conversions
- Flavors of Perl numeric operations
- AUTHOR
- SEE ALSO
NAME
perlnumber - semantics of numbers and numeric operations in Perl
SYNOPSIS
$n = 1234; # decimal integer $n = 0b1110011; # binary integer $n = 01234; # octal integer $n = 0x1234; # hexadecimal integer $n = 12.34e-56; # exponential notation $n = "-12.34e56"; # number specified as a string $n = "1234"; # number specified as a string