Check out v4 of the Fauna CLI

v4 of the Fauna CLI is now in beta.

The new version introduces enhancements to the developer experience, including an improved authentication workflow. To get started, check out the CLI v4 quick start.

Math.Infinity

String value representing infinity.

Signature

Math.Infinity: String

Description

Math.Infinity represents a double precision floating point number that is greater than any other number. -Math.Infinity represents a floating point number that is less than any other number.

See IEEE 754.

Return value

Type Description

String

Math.Infinity or -Math.Infinity

Examples

"1.7976931348623159e308".parseNumber()
Math.Infinity
-1.0 / 0.0
-Math.Infinity

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!