Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
Perl Programming

Converting a number to a String

 

Data types

Converting a number to a String

The easy way to do this is to concatenate an empty string.

The complicated way to do this is to box the number and use toString

The powerful way to do this is to use String.format method