Expand my Community achievements bar.

How to multiply a numeric field (with Quantity) with a Cell (text field with price) to get a total?

Avatar

Former Community Member

1 Reply

Avatar

Level 2

In Javascript I suggest multiplying the text field by 1 to change it to a numeric type then multiply this with the other numeric field.  The code would look something like:

Total.rawValue = numericField.rawValue * (textField.rawValue*1)