greaterThan

fun greaterThan(left: Double, right: Double, absoluteEpsilon: Double): Boolean(source)

Determines if the left value is greater the right value. If the two values are within absoluteEpsilon of each other, they are considered equal and this function returns false.

Return

true if left is greater than right by more than absoluteEpsilon<code>. <code>false if left is less or if the two values are nearly equal.

Parameters

left

The first number to compare.

right

The second number to compare.

absoluteEpsilon

The absolute epsilon to use in comparison.

See also