Operators *: error in left operand
Posted: Tue Feb 10, 2015 8:30 pm
Hey all,
I'm having trouble with the following line of code. Its says (Operators *: error in left operand), char 12. field fld_rate contains values like $ 1,250.50 and field hours could have 5.5. I'm using the function bn suggested in my last threadhttp://forums.livecode.com/viewtopic.php?f=7&t=22898 to remove special characters and return the result so I can perform this multiplication.
Thanks as always
I'm having trouble with the following line of code. Its says (Operators *: error in left operand), char 12. field fld_rate contains values like $ 1,250.50 and field hours could have 5.5. I'm using the function bn suggested in my last threadhttp://forums.livecode.com/viewtopic.php?f=7&t=22898 to remove special characters and return the result so I can perform this multiplication.
Thanks as always
Code: Select all
put (accountancyFormatRemove(field "fld_rate")) * (accountancyFormatRemove(field "fld_hours")) into tCost