TheBugSlayer
Programmer
Hi. I am using the FormatCurrency in my code but sometimes it works fine and sometimes it fails with the message:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'FormatCurrency'
/cscbonus/Operatorbonus.asp, line 181
I am using it like either
or
The values format are not that big, less than a million in any case.
Your help is appreciated.
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'FormatCurrency'
/cscbonus/Operatorbonus.asp, line 181
I am using it like either
Code:
<TD align=right> <%=FormatCurrency(rs("RegRate"))%> </TD>
Code:
<TD align=right> <%=FormatCurrency(Bonus, 2, -1)%> </TD>
The values format are not that big, less than a million in any case.
Your help is appreciated.