The stupid question is the question not asked | |
PerlMonks |
Re: Splitting every 3 digits?by stefp (Vicar) |
on Sep 29, 2001 at 05:34 UTC ( [id://115558]=note: print w/replies, xml ) | Need Help?? |
A related problem that may well be the underlying motivation of the question:
writing an integer by block of three digits separated by underscores. The custom is to start
from the end because the goal is to make visible thousands, millions and so on.
The easy way:
-- stefp
In Section
Seekers of Perl Wisdom
|
|