well, you could divide it by 100... Mark
-----Original Message----- From: lamb.rob [mailto:[EMAIL PROTECTED]] Sent: dinsdag 20 augustus 2002 10: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]
