Numbers

Learn about the representation of numbers in Perl.

Perl supports numbers as both integers and floating-point values.

We can represent them with scientific notation as well as in binary, octal, and hexadecimal forms:

Get hands-on with 1200+ tech skills courses.