View Single Post
Old 23rd October 2018, 16:53   #9  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 999
Quote:
Originally Posted by StainlessS View Post
Yep, and 'NaN' (Not a Number) is often result of divide by zero.
You're right, but I had already tested this and passed zero and float to the function, no error.

So an uninitialized variable or a variable that does not consist of numbers will probably be transferred.
gispos is offline   Reply With Quote