--- title: math.NaN() function description: > `math.NaN()` returns a IEEE 754 "not-a-number" value. menu: flux_v0_ref: name: math.NaN parent: math identifier: math/NaN weight: 101 --- `math.NaN()` returns a IEEE 754 "not-a-number" value. ##### Function type signature ```js () => float ``` {{% caption %}} For more information, see [Function type signatures](/flux/v0/function-type-signatures/). {{% /caption %}} ## Examples ### Return a NaN value ```js import "math" math.NaN() ```