Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calculating with money * number or decimal format

Status
Not open for further replies.

ifntech

Programmer
Nov 4, 2004
80
US
I have two fields I want to calculate in ASP page and I get a type mismatch. The calculation is 20% * $10,000.00
I used money format and tried both decimal and numeric for the % number at .2.

Keep getting type mismatch when I try to calculate in the the ASP form.
 
what data format are the figures held as in the db

[bandito] [blue]DBomrrsm[/blue] [bandito]

[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top