|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Splitting every 3 digits?by stefp (Vicar) |
| on Sep 29, 2001 at 01:34 UTC ( [id://115558]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||