MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.What does the NAN code mean?
Feedback.

Answer:
NanMeaning
1Invalid square root (negative number, usually)
2Invalid addition (indeterminate such as infinity + (-infinity))
4Invalid division (indeterminate such as 0/0)
8Invalid multiplication (indeterminate such as 0*infinity)
9Invalid modulo such as (a mod 0)
17Try to convert invalid string to a number like val("x7")
33Invalid argument in a trig function
34Invalid argument in an inverse trig function
36Invalid argument in a log function
37Invalid argument in Pow function
38Invalid argument in toolbox financial function
40Invalid argument in hyperbolic function
42Invalid argument in a gamma function




Links
MBS Real Studio PDF Plugins