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!