Code:
# $moneytotal{$iso} is 102.34
sprintf("%.2f", $moneytotal{$iso})
is it possible to show the total as 102,34 as if it was in Europe, rather than 102.34 for UK
i'm not really able to change or set the Locale setting unfortunately....
What I am really looking for is having what would appear in the UK as £ 1,012.34 to be displayed as ⬠1.012,34 if a variable is EUR. This sort of thing.....
Code:
if ($curr eq "EUR") {
# code in here to display as 1.012,34
}
I don't think Math::Currency does the job - although I do have it installed, i've looked at the manual for it.
Any other suggestions?
_______________________
Ayrshire Minis - a Mini E-Community
www.ayrshireminis.com
www.crmpicco.co.uk
www.scottishminis.com