Documentation

math.NaN() function

math.NaN() returns a IEEE 754 “not-a-number” value.

Function type signature
() => float
For more information, see Function type signatures.

Examples

Return a NaN value

import "math"

math.NaN()


Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.