Rob, it's Ok to keep few of the old posts when you reply. So people can
actully know what is The post you are replying for  :)

Well I think as long as you are sticking to one country/currency hardcoding
is not an issue.

Some how I would create function like following to calculate my currency
formats. 

'-------------------------------------------

Function FormatCurrency( lAmount, strCurrCcode)
        
        dim strRetval

        select Case strCurrCcode
                case  "USD"
                        strRetval = round(lAmount/100,2) & "USD"
                case  "YEN"
                        strRetval = lAmount & "YEN"             

                'ETC,.. so you CAn have multpile Curency formating in here.


        end select

        FormatCurrency = strRetval
end function

'-------------------------------------------


Cheers




Kuminda Chandimith
Sr. Technical Consultant
Ducont.com FZ-LLC
Tel:  + 971-4-3913000 Ext 237
Fax: +971-4-3913001
http://www.ducont.com



-----Original Message-----
From: lamb.rob [mailto:[EMAIL PROTECTED]]
Sent: 20 August 2002 12:34
To: ActiveServerPages
Subject: RE: Inserting a decimal (converting number to monetary value)


Hi Kuminda

I am actually hard coding this...

Help!

---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to