Skip to main content

float

Chainable Ops

number-notEqual

Determines inequality of two values.

Argument
lhsThe first value to compare.
rhsThe second value to compare.

Return Value

Whether the two values are not equal.

number-modulo

Divide a number by another and return remainder

Argument
lhsnumber to divide
rhsnumber to divide by

Return Value

Modulo of two numbers

number-mult

Multiply two numbers

Argument
lhsFirst number
rhsSecond number

Return Value

Product of two numbers

number-powBinary

Raise a number to an exponent

Argument
lhsBase number
rhsExponent number

Return Value

The base numbers raised to nth power

number-add

Add two numbers

Argument
lhsFirst number
rhsSecond number

Return Value

Sum of two numbers

number-sub

Subtract a number from another

Argument
lhsnumber to subtract from
rhsnumber to subtract

Return Value

Difference of two numbers

number-div

Divide a number by another

Argument
lhsnumber to divide
rhsnumber to divide by

Return Value

Quotient of two numbers

number-less

Check if a number is less than another

Argument
lhsnumber to compare
rhsnumber to compare to

Return Value

Whether the first number is less than the second

number-lessEqual

Check if a number is less than or equal to another

Argument
lhsnumber to compare
rhsnumber to compare to

Return Value

Whether the first number is less than or equal to the second

number-equal

Determines equality of two values.

Argument
lhsThe first value to compare.
rhsThe second value to compare.

Return Value

Whether the two values are equal.

number-greater

Check if a number is greater than another

Argument
lhsnumber to compare
rhsnumber to compare to

Return Value

Whether the first number is greater than the second

number-greaterEqual

Check if a number is greater than or equal to another

Argument
lhsnumber to compare
rhsnumber to compare to

Return Value

Whether the first number is greater than or equal to the second

number-negate

Negate a number

Argument
valNumber to negate

Return Value

A number

number-toString

Convert a number to a string

Argument
inNumber to convert

Return Value

String representation of the number

number-toTimestamp

Converts a number to a timestamp. Values less than 31536000000 will be converted to seconds, values less than 31536000000000 will be converted to milliseconds, values less than 31536000000000000 will be converted to microseconds, and values less than 31536000000000000000 will be converted to nanoseconds.

Argument
valNumber to convert to a timestamp

Return Value

Timestamp

number-abs

Calculates the absolute value of a number

Argument
nA number

Return Value

The absolute value of the number

List Ops

number-notEqual

Determines inequality of two values.

Argument
lhsThe first value to compare.
rhsThe second value to compare.

Return Value

Whether the two values are not equal.

number-modulo

Divide a number by another and return remainder

Argument
lhsnumber to divide
rhsnumber to divide by

Return Value

Modulo of two numbers

number-mult

Multiply two numbers

Argument
lhsFirst number
rhsSecond number

Return Value

Product of two numbers

number-powBinary

Raise a number to an exponent

Argument
lhsBase number
rhsExponent number

Return Value

The base numbers raised to nth power

number-add

Add two numbers

Argument
lhsFirst number
rhsSecond number

Return Value

Sum of two numbers

number-sub

Subtract a number from another

Argument
lhsnumber to subtract from
rhsnumber to subtract

Return Value

Difference of two numbers

number-div

Divide a number by another

Argument
lhsnumber to divide
rhsnumber to divide by

Return Value

Quotient of two numbers

number-less

Check if a number is less than another

Argument
lhsnumber to compare
rhsnumber to compare to

Return Value

Whether the first number is less than the second

number-lessEqual

Check if a number is less than or equal to another

Argument
lhsnumber to compare
rhsnumber to compare to

Return Value

Whether the first number is less than or equal to the second

number-equal

Determines equality of two values.

Argument
lhsThe first value to compare.
rhsThe second value to compare.

Return Value

Whether the two values are equal.

number-greater

Check if a number is greater than another

Argument
lhsnumber to compare
rhsnumber to compare to

Return Value

Whether the first number is greater than the second

number-greaterEqual

Check if a number is greater than or equal to another

Argument
lhsnumber to compare
rhsnumber to compare to

Return Value

Whether the first number is greater than or equal to the second

number-negate

Negate a number

Argument
valNumber to negate

Return Value

A number

numbers-argmax

Finds the index of maximum number

Argument
numberslist of numbers to find the index of maximum number

Return Value

Index of maximum number

numbers-argmin

Finds the index of minimum number

Argument
numberslist of numbers to find the index of minimum number

Return Value

Index of minimum number

numbers-avg

Average of numbers

Argument
numberslist of numbers to average

Return Value

Average of numbers

numbers-max

Maximum number

Argument
numberslist of numbers to find the maximum number

Return Value

Maximum number

numbers-min

Minimum number

Argument
numberslist of numbers to find the minimum number

Return Value

Minimum number

numbers-stddev

Standard deviation of numbers

Argument
numberslist of numbers to calculate the standard deviation

Return Value

Standard deviation of numbers

numbers-sum

Sum of numbers

Argument
numberslist of numbers to sum

Return Value

Sum of numbers

number-toString

Convert a number to a string

Argument
inNumber to convert

Return Value

String representation of the number

number-toTimestamp

Converts a number to a timestamp. Values less than 31536000000 will be converted to seconds, values less than 31536000000000 will be converted to milliseconds, values less than 31536000000000000 will be converted to microseconds, and values less than 31536000000000000000 will be converted to nanoseconds.

Argument
valNumber to convert to a timestamp

Return Value

Timestamp

number-abs

Calculates the absolute value of a number

Argument
nA number

Return Value

The absolute value of the number

Was this page helpful?👍👎