Closed ghost closed 4 years ago
Let answer be a string so we properly handle decimal places for integers. Also allows better future expansion.
There was a bug where if the intended answer was "4.0" the number.toString is "4". Which would never match.
This should be implemented when the generator structure is completed to avoid unnecessary conflicts
Let answer be a string so we properly handle decimal places for integers. Also allows better future expansion.
There was a bug where if the intended answer was "4.0" the number.toString is "4". Which would never match.