lessThan

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

Determines if the left value is less than 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 less than right by more than absoluteEpsilon<code>. <code>false if left is greater 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