in reply to converting to a currency
A possible solution is Math::Currency:
use Math::Currency qw(Money $LC_MONETARY); Math::Currency->format( $LC_MONETARY->{EUR} ); Math::Currency->format('MON_THOUSANDS_SEP', '\''); print Math::Currency::Money(12345.67);
this code prints €12'345,67. Your question was thoroughly answered here: Making money look nice.
Ciao, Valerio
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: converting to a currency
by Anonymous Monk on May 11, 2003 at 02:33 UTC |