When entering a float as an answer, the program only detects the error when it is a small value. As shown in screenshot below, entering the float 24.0 presents the error message "Answer must be an integer" but 999999999999.0 does not yield the same error message.
Problem
When entering a float as an answer, the program only detects the error when it is a small value. As shown in screenshot below, entering the float
24.0
presents the error message "Answer must be an integer" but999999999999.0
does not yield the same error message.Steps to replicate
e
andfight
.10.0
.999999999999.0
Screenshot
[original: nus-cs2113-AY2324S2/pe-interim#2538] [original labels: severity.Low type.FeatureFlaw]