Perlnumber

PERLNUMBER(1) Perl Programmers Reference Guide PERLNUMBER(1)

Perlnumber

PERLNUMBER(1) Perl Programmers Reference Guide PERLNUMBER(1) # PERLNUMBER(1) Perl Programmers Reference Guide PERLNUMBER(1) NNAAMMEE # perlnumber - semantics of numbers and numeric operations in Perl SSYYNNOOPPSSIISS # $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 DDEESSCCRRIIPPTTIIOONN # This document describes how Perl internally handles numeric values. ...