Please post the code where the NFE is thrown.
JamesCherrill
... trying to help
8,526 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,456
Skill Endorsements: 30
Because that's what the Java definition requires. See the Java Language Specification section 15.17.2...
Division of a nonzero finite value by a zero results in a signed infinity.
NFE is about converting a String to a float, not about arithmetic.
JamesCherrill
... trying to help
8,526 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,456
Skill Endorsements: 30