See printf and sprintf for more details on how to print numbers.
In reply to Re: PDL datatype by moritz in thread PDL datatype by nickschurch