-----Original Message-----
From: Desmond R. Johnson [mailto:desmond@m...]
Sent: 19 December 2000 20:01
To: support@w...
Subject: Professional JavaScript
I have been using the book as a starting point for an online store. The
database format for "Price" is stored as a money type field. Entering the
number 10.00 results in 10. Entering 10.50 results in 10.5. Entering 10.45
results in 10.45. That is fine but when the products are browsed or
displayed in the cart the results are exactly what is displayed in the
database. On page 426 there is a reference to the FormatCurrency function
in VBScript. How might that be used to format the "Price" in the above
locations? The "Price" is displayed as <%=loRS("Price")%>.
Thank you for a response,
Desmond Johnson
---
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to javascript as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-javascript-$subst('Recip.MemberIDChar')@p2p.wrox.com