[#5815290] Fix decimals

When used as a dependency for the JavaScript Calculator and the Equation Builder, allows only one decimal per numeric expression.

#### To test:

- [x] run `grunt test`, ensure all passing (we don't have travis set up for these repos)
- Further testing instructions in the JS Calc and EQ builder repos