Forums

This topic is locked

FormatCurrency from dollar to Euro?

Posted 21 Mar 2003 16:11:39
1
has voted
21 Mar 2003 16:11:39 Jelle-Jacob de Vries posted:
Is it possible to show the FormatCurrency in Euro's instead of dollars?

I know that I could use LCID, but there's no LCID representing the EURO.

Here's a code example:

<%= FormatCurrency((UCCart1.GetColumnValue("Price",UCCart1__i)), -1, -2, -2, -2) %>

Replies

Replied 21 Mar 2003 17:59:52
21 Mar 2003 17:59:52 Brent Colflesh replied:
I've always seen the Euro character expressed with ASCII code 128. You just want that symbol in front of the amount? Or something else?

Regards,
Brent

Replied 16 Jul 2003 19:07:15
16 Jul 2003 19:07:15 Hans Gelok replied:
I think this is one of the sollutions:

'%dim amount, converted
varLocale = SetLocale(1043)
amount=FormatCurrency(show.Fields.Item("amount".Value)
converted=Replace(converted,"fl ","€ "%'

'%=(converted)%'

[[where ' are brackets]]

Reply to this topic