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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type mismatch error (ASP 3.0)

Status
Not open for further replies.

lymi6977

IS-IT--Management
Jan 14, 2005
16
0
0
US
I am new to ASP, and I'm responsible for correcting errors written by previouse programmers.

Can someone tell me what is missing in the following code?
There is a calculation and it should be formatted with dollar sign (currency)..


<th align="left"><%=format_money(total_due_castle+(0.03*my_cc_amount)+(0.01*my_noncc_amount))%></th>
</tr>
 
can you show us your function:

format_money()


also try this:

format_money(Convert(float(10),total_due_castle+(0.03*my_cc_amount)+(0.01*my_noncc_amount)))

-DNG
 
Chris,

I assumed that the previous programmer might have used the formatcurrency() in his own function named format_money()

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top