DoubleRangeExt extension

Add range extensions to double.

on

Methods

downTo(double toInclusive) Range<double>
Returns a range from this value down to the specified toInclusive value, inclusively.
rangeTo(double toInclusive) Range<double>
Creates a range from this value to the specified toInclusive value, inclusively.
upTo(double toInclusive) Range<double>
Alias for rangeTo(), creates a range from this value to the specified toInclusive value, inclusively.