Forums

This topic is locked

Problem with Format £ sign...Please help

Posted 06 Feb 2003 21:03:26
1
has voted
06 Feb 2003 21:03:26 Mashkur Alam posted:
Hi
I have formated my currency Price as 2 decimel...it shows me localy POUND SIGN....but when uploaded it on to server...it showes me $ sign instead....
What should do....
I have checked on to code..there is no $ sign...so that I can change it...
Please....suggest me any friend
I will be helpfull
Thanks
Mashkur

Mashkur

Replies

Replied 07 Feb 2003 03:20:46
07 Feb 2003 03:20:46 Owen Eastwick replied:
<%
varPrice = "125.50"
VarLocale = SetLocale(2057)
Response.Write(FormatCurrency(varPrice))
%>

Regards

Owen.

-------------------------------------------------------------------------------------------
Used programming books and web development software for sale (UK only):
www.tdsf.co.uk/tdsfdemo/Shop.htm


Multiple Parameter UD4 / Access 2000 Search Tutorial:
www.tdsf.co.uk/tdsfdemo/
Replied 08 Feb 2003 01:55:46
08 Feb 2003 01:55:46 Mashkur Alam replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
&lt;%
varPrice = "125.50"
VarLocale = SetLocale(2057)
Response.Write(FormatCurrency(varPrice))
%&gt;

Regards

Owen.

-------------------------------------------------------------------------------------------
Used programming books and web development software for sale (UK only):
www.tdsf.co.uk/tdsfdemo/Shop.htm


Multiple Parameter UD4 / Access 2000 Search Tutorial:
www.tdsf.co.uk/tdsfdemo/
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>


I just tried to figure it out, but it doesn't work properly......it showes me error........
did i get any mistake, i am not sure actually.....
i just replace...with
&lt;%= FormatCurrency((rsProp_Sales.Fields.Item("Price".Value), 2, -2, -2, -2) %&gt;
this

is the right way...
please lookforward from you...
and a bit explain as well....
thanks for your help boss..
Mashkur

Edited by - mash07 on 08 Feb 2003 01:57:01
Replied 08 Feb 2003 02:49:33
08 Feb 2003 02:49:33 Owen Eastwick replied:
Try:

&lt;%
varLocale = SetLOcale(2057)
Response.Write(FormatCurrency(rsProp_Sales.Fields.Item("Price".Value))
%&gt;

Regards

Owen.

-------------------------------------------------------------------------------------------
Used programming books and web development software for sale (UK only):
www.tdsf.co.uk/tdsfdemo/Shop.htm


Multiple Parameter UD4 / Access 2000 Search Tutorial:
www.tdsf.co.uk/tdsfdemo/
Replied 08 Feb 2003 20:47:13
08 Feb 2003 20:47:13 Mashkur Alam replied:
Thanks oeastwick,
its brilliant....and working fine...thanks a lot for your help....
I am really glad.
Mashkur

Mashkur

Edited by - mash07 on 08 Feb 2003 20:48:23

Reply to this topic