Sounds like you are working with MS Site server !! :) 

If its so, site Server has a format currency function. Otherwise simply
devide by the denomination of The currency.

(is denomination is the Correct term .!! My english is not so good)

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:11
To: ActiveServerPages
Subject: Inserting a decimal (converting number to monetary value)


How would I write a value eg <%=RS("Cost")%> as a monetary value.  The
database requires that the value be in cents eg 1234 = R12.34

Any help would be appreciated.

TIA

---
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