C
crferguson
Hello all! I'm having the oddest issue trying to format a numeric
string as currency without decimals. For instance...
strSalary = "120000.56"
strSalary = Format(strSalary, "$#,##0")
'this one returns "$#,##0" literally, no number
strSalary = Format(strSalary, "C0")
'this one returns "C0" literally, no number
strSalary = Format(strSalary, "currency")
'this one actually formats the number as currency, but is has decimal
places! So close, yet so far...
Am I missing something????
Thanks you,
Cory
string as currency without decimals. For instance...
strSalary = "120000.56"
strSalary = Format(strSalary, "$#,##0")
'this one returns "$#,##0" literally, no number
strSalary = Format(strSalary, "C0")
'this one returns "C0" literally, no number
strSalary = Format(strSalary, "currency")
'this one actually formats the number as currency, but is has decimal
places! So close, yet so far...
Am I missing something????
Thanks you,
Cory