Currency-formated calculator help


I am trying to make an income calculator where the text field auto-formats to currency format and it displays the total income in large text above it.

Unfortunately, if I get the text field to auto-format to currency format, it throws a $NaN for the total. But if I remove the currency auto-formatting from the text field, I can get the correct number/format for the total.

I attached the version of the file that throws a $NaN for the total. IncomeCalculator.rp (50.0 KB)

Personally, I’d just put the currency symbol on the canvas outside the input the field.

If elegance is causing you a problem, screw the elegance. It’s a prototype. :slight_smile: