infinity() Function

Represents a constant number that stands for positive infinity or a negative infinity if you negate the value.

Syntax

infinity()

Returns

Decimal

Examples

You can experiment with this function in the test box below.

Test Input

infinity() returns

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page

FEEDBACK