Repeating Decimal


#1

I’m trying to have to students input a fraction however I’m having an issue of stating the problem is correct when it comes to repeating decimals like 1/3.


#2

The only way I have found to work is to set a tolerance.

Example
this.numericValue > .333 and this.numericValue < .334


#3

This is actually the recommended method, awesome stuff!