Hi would greatly welcome any help with this
,,,////////////turn it into currency/////////////////////
setlocale(LC_MONETARY, 'en_US');
$price = money_format('%(#10n', $price) ;
$pricehigh = money_format('%(#10n', $pricehigh) ;
////////////turn it into currency/////////////////////
Above written for Linux based server.... Anybody got an idea how i can change it to run on windows??? ::)
Any help, with this welcome
Moderator: General Moderators
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
-
jumpmuppet
- Forum Newbie
- Posts: 2
- Joined: Wed Sep 06, 2006 7:06 am
MMMMM
General failure????? Hard disk reading???
script will not run in windows,,, Money_Format is undefined,,, hence the reason to get a version of this similar to run on windows server....
any ideas
script will not run in windows,,, Money_Format is undefined,,, hence the reason to get a version of this similar to run on windows server....
any ideas
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
so use number_format()