For example:
See sprintf for details of the first argument to printf.#! /usr/bin/perl -w use strict; use diagnostics; my $n=42; printf "%05d\n", $n;
In reply to Re: round up digits in numbers
by quester
in thread round up digits in numbers
by newPerlr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |