Functions: FnNumber

1. Overview

FnNumber is a function hub class containing a lot of static methods to work with Number objects. Those static methods return functions that deal with Number objects. Those functions include conversions to String, to String when the number represents a currency and rounding functions among others.

2. Functions

Function nameTypeParamsDescription
betweenFunction<Number,Boolean>Number min
Number max

Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. The target and the specified min and max have to implement Comparable.

betweenFunction<Number,Boolean>int min
int max

Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. The target and the specified min and max have to implement Comparable.

betweenFunction<Number,Boolean>short min
short max

Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >>= 0 && target.compareTo(max) <= 0. The target and the specified min and max have to implement Comparable.

betweenFunction<Number,Boolean>byte min
byte max

Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. The target and the specified min and max have to implement Comparable.

betweenFunction<Number,Boolean>long min
long max

Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. The target and the specified min and max have to implement Comparable.

betweenFunction<Number,Boolean>double min
double max

Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. The target and the specified min and max have to implement Comparable.

betweenFunction<Number,Boolean>float min
float max

Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. The target and the specified min and max have to implement Comparable.

eqFunction<Number,Boolean>Number object

Determines whether the target object and the specified object are equal by calling the equals method on the target object.

eqFunction<Number,Boolean>float object

Determines whether the target object and the specified object are equal by calling the equals method on the target object.

eqFunction<Number,Boolean>double object

Determines whether the target object and the specified object are equal by calling the equals method on the target object.

eqFunction<Number,Boolean>byte object

Determines whether the target object and the specified object are equal by calling the equals method on the target object.

eqFunction<Number,Boolean>short object

Determines whether the target object and the specified object are equal by calling the equals method on the target object.

eqFunction<Number,Boolean>int object

Determines whether the target object and the specified object are equal by calling the equals method on the target object.

eqFunction<Number,Boolean>long object

Determines whether the target object and the specified object are equal by calling the equals method on the target object.

eqByFunction<Number,Boolean>IFunction<Number,?> by
Number object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.

eqByFunction<Number,Boolean>IFunction<Number,?> by
float object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.

eqByFunction<Number,Boolean>IFunction<Number,?> by
double object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.

eqByFunction<Number,Boolean>IFunction<Number,?> by
byte object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.

eqByFunction<Number,Boolean>IFunction<Number,?> by
short object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.

eqByFunction<Number,Boolean>IFunction<Number,?> by
int object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.

eqByFunction<Number,Boolean>IFunction<Number,?> by
long object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.

eqValueFunction<Number,Boolean>Number object

Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. Both the target and the specified object have to implement Comparable.

eqValueFunction<Number,Boolean>float object

Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. Both the target and the specified object have to implement Comparable.

eqValueFunction<Number,Boolean>double object

Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. Both the target and the specified object have to implement Comparable.

eqValueFunction<Number,Boolean>byte object

Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. Both the target and the specified object have to implement Comparable.

eqValueFunction<Number,Boolean>short object

Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. Both the target and the specified object have to implement Comparable.

eqValueFunction<Number,Boolean>int object

Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. Both the target and the specified object have to implement Comparable.

eqValueFunction<Number,Boolean>long object

Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. Both the target and the specified object have to implement Comparable.

eqValueByFunction<Number,Boolean>IFunction<Number,?> by
Number object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. Both the function result and the specified object have to implement Comparable.

eqValueByFunction<Number,Boolean>IFunction<Number,?> by
float object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. Both the function result and the specified object have to implement Comparable.

eqValueByFunction<Number,Boolean>IFunction<Number,?> by
double object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. Both the function result and the specified object have to implement Comparable.

eqValueByFunction<Number,Boolean>IFunction<Number,?> by
byte object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. Both the function result and the specified object have to implement Comparable.

eqValueByFunction<Number,Boolean>IFunction<Number,?> by
short object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. Both the function result and the specified object have to implement Comparable.

eqValueByFunction<Number,Boolean>IFunction<Number,?> by
int object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. Both the function result and the specified object have to implement Comparable.

eqValueByFunction<Number,Boolean>IFunction<Number,?> by
long object

Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. Both the function result and the specified object have to implement Comparable.

greaterOrEqToFunction<Number,Boolean>Number object

Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToFunction<Number,Boolean>float object

Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToFunction<Number,Boolean>double object

Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToFunction<Number,Boolean>byte object

Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToFunction<Number,Boolean>short object

Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToFunction<Number,Boolean>int object

Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToFunction<Number,Boolean>long object

Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
Number object

Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
float object

Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
double object

Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
byte object

Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
short object

Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
int object

Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
long object

Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. Both the target and the specified object have to implement Comparable.

greaterThanFunction<Number,Boolean>Number object

Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanFunction<Number,Boolean>float object

Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanFunction<Number,Boolean>double object

Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanFunction<Number,Boolean>byte object

Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanFunction<Number,Boolean>short object

Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanFunction<Number,Boolean>int object

Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanFunction<Number,Boolean>long object

Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanByFunction<Number,Boolean>IFunction<Number,?> by
Number object

Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanByFunction<Number,Boolean>IFunction<Number,?> by
float object

Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanByFunction<Number,Boolean>IFunction<Number,?> by
double object

Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanByFunction<Number,Boolean>IFunction<Number,?> by
byte object

Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanByFunction<Number,Boolean>IFunction<Number,?> by
short object

Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanByFunction<Number,Boolean>IFunction<Number,?> by
int object

Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

greaterThanByFunction<Number,Boolean>IFunction<Number,?> by
long object

Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. Both the target and the specified object have to implement Comparable.

isNotNullFunction<Number,Boolean>

Determines whether the target object is null or not.

isNullFunction<Number,Boolean>

Determines whether the target object is null or not.

lessOrEqToFunction<Number,Boolean>Number object

Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToFunction<Number,Boolean>float object

Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToFunction<Number,Boolean>double object

Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToFunction<Number,Boolean>byte object

Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToFunction<Number,Boolean>short object

Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToFunction<Number,Boolean>int object

Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToFunction<Number,Boolean>long object

Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
Number object

Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
float object

Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
double object

Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
byte object

Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
short object

Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
int object

Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessOrEqToByFunction<Number,Boolean>IFunction<Number,?> by
long object

Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. Both the target and the specified object have to implement Comparable.

lessThanFunction<Number,Boolean>Number object

Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanFunction<Number,Boolean>float object

Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanFunction<Number,Boolean>double object

Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanFunction<Number,Boolean>byte object

Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanFunction<Number,Boolean>short object

Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanFunction<Number,Boolean>int object

Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanFunction<Number,Boolean>long object

Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanByFunction<Number,Boolean>IFunction<Number,?> by
Number object

Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanByFunction<Number,Boolean>IFunction<Number,?> by
float object

Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanByFunction<Number,Boolean>IFunction<Number,?> by
double object

Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanByFunction<Number,Boolean>IFunction<Number,?> by
byte object

Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanByFunction<Number,Boolean>IFunction<Number,?> by
short object

Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanByFunction<Number,Boolean>IFunction<Number,?> by
int object

Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

lessThanByFunction<Number,Boolean>IFunction<Number,?> by
long object

Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. Both the target and the specified object have to implement Comparable.

notEqFunction<Number,Boolean>Number object

Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.

notEqFunction<Number,Boolean>float object

Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.

notEqFunction<Number,Boolean>double object

Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.

notEqFunction<Number,Boolean>byte object

Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.

notEqFunction<Number,Boolean>short object

Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.

notEqFunction<Number,Boolean>int object

Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.

notEqFunction<Number,Boolean>long object

Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.

notEqByFunction<Number,Boolean>IFunction<Number,?> by
Number object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.

notEqByFunction<Number,Boolean>IFunction<Number,?> by
float object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.

notEqByFunction<Number,Boolean>IFunction<Number,?> by
double object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.

notEqByFunction<Number,Boolean>IFunction<Number,?> by
byte object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.

notEqByFunction<Number,Boolean>IFunction<Number,?> by
short object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.

notEqByFunction<Number,Boolean>IFunction<Number,?> by
int object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.

notEqByFunction<Number,Boolean>IFunction<Number,?> by
long object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.

notEqValueFunction<Number,Boolean>Number object

Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) != 0. Both the target and the specified object have to implement Comparable.

notEqValueFunction<Number,Boolean>float object

Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) != 0. Both the target and the specified object have to implement Comparable.

notEqValueFunction<Number,Boolean>double object

Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) != 0. Both the target and the specified object have to implement Comparable.

notEqValueFunction<Number,Boolean>byte object

Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) != 0. Both the target and the specified object have to implement Comparable.

notEqValueFunction<Number,Boolean>short object

Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) != 0. Both the target and the specified object have to implement Comparable.

notEqValueFunction<Number,Boolean>int object

Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) != 0. Both the target and the specified object have to implement Comparable.

notEqValueFunction<Number,Boolean>long object

Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) != 0. Both the target and the specified object have to implement Comparable.

notEqValueByFunction<Number,Boolean>IFunction<Number,?> by
Number object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) != 0. Both the function result and the specified object have to implement Comparable.

notEqValueByFunction<Number,Boolean>IFunction<Number,?> by
float object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) != 0. Both the function result and the specified object have to implement Comparable.

notEqValueByFunction<Number,Boolean>IFunction<Number,?> by
double object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) != 0. Both the function result and the specified object have to implement Comparable.

notEqValueByFunction<Number,Boolean>IFunction<Number,?> by
byte object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) != 0. Both the function result and the specified object have to implement Comparable.

notEqValueByFunction<Number,Boolean>IFunction<Number,?> by
short object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) != 0. Both the function result and the specified object have to implement Comparable.

notEqValueByFunction<Number,Boolean>IFunction<Number,?> by
int object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) != 0. Both the function result and the specified object have to implement Comparable.

notEqValueByFunction<Number,Boolean>IFunction<Number,?> by
long object

Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) != 0. Both the function result and the specified object have to implement Comparable.

roundBigDecimalFunction<BigDecimal,BigDecimal>int scale
RoundingMode roundingMode

It rounds the target object with the specified scale and rounding mode

roundDoubleFunction<Double,Double>int scale
RoundingMode roundingMode

It rounds the target object with the specified scale and rounding mode

roundFloatFunction<Float,Float>int scale
RoundingMode roundingMode

It rounds the target with the specified scale and rounding mode

toBigDecimalFunction<Number,BigDecimal>

It converts the input into a BigDecimal

toBigDecimalFunction<Number,BigDecimal>int scale
RoundingMode roundingMode

It converts the input into a BigDecimal using the given scale and RoundingMode

toBigIntegerFunction<Number,BigInteger>

It converts the input into a BigInteger

toBigIntegerFunction<Number,BigInteger>RoundingMode roundingMode

It converts the input into a BigInteger using the given RoundingMode

toBooleanFunction<Number,Boolean>

It converts the input into a Boolean

toByteFunction<Number,Byte>

It converts the input into a Byte

toByteFunction<Number,Byte>RoundingMode roundingMode

It converts the input into a Byte using the given RoundingMode

toCurrencyStrFunction<Number,String>

It returns the String representation of the target as a currency in the default Locale

toCurrencyStrFunction<Number,String>boolean groupingUsed

It returns the String representation of the target as a currency in the default Locale

toCurrencyStrFunction<Number,String>Locale locale

It returns the String representation of the target as a currency in the given Locale

toCurrencyStrFunction<Number,String>String locale

It returns the String representation of the target as a currency in the given locale

toCurrencyStrFunction<Number,String>Locale locale
boolean groupingUsed

It returns the String representation of the target as a currency in the given Locale

toCurrencyStrFunction<Number,String>String locale
boolean groupingUsed

It returns the String representation of the target as a currency in the given locale

toCurrencyStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed

It returns the String representation of the target as a currency in the given Locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toCurrencyStr(Locale.UK, 3, 2, 2, true) would return 1,000.00 if target number is 1000
toCurrencyStr(Locale.UK, 2, 2, 4, true) would return 00.00 if target number is 0
toCurrencyStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed

It returns the String representation of the target as a currency in the given locale taking into account the given parameters. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toCurrencyStr(Locale.UK.toString(), 3, 2, 2, true) would return 1,000.00 if target number is 1000
toCurrencyStr(Locale.UK.toString(), 2, 2, 4, true) would return 00.00 if target number is 0
toCurrencyStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
char groupingSeparator
char decimalSeparator
boolean decimalSeparatorAlwaysShown

It returns the String representation of the target as a currency in the given Locale taking into account the given parameters. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toCurrencyStr(Locale.UK, 3, 2, 2, ',', ',', true) would return 1,000,00 if target number is 1000
toCurrencyStr(Locale.UK, 2, 2, 4, ',', ',', true) would return 00,00 if target number is 0
toCurrencyStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed
char decimalSeparator
boolean decimalSeparatorAlwaysShown

It returns the String representation of the target as a currency in the given Locale taking into account the given parameters. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toCurrencyStr(Locale.UK.toString(), 3, 2, 2, ',', ',', true) would return 1,000,00 if target number is 1000
toCurrencyStr(Locale.UK.toString(), 2, 2, 4, ',', ',', true) would return 00,00 if target number is 0
toCurrencyStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
char groupingSeparator
char decimalSeparator
boolean decimalSeparatorAlwaysShown

It returns the String representation of the target as a currency in the given locale taking into account the given parameters. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toCurrencyStr(Locale.UK, 3, 2, 2, ',', ',', true) would return 1,000,00 if target number is 1000
toCurrencyStr(Locale.UK, 2, 2, 4, ',', ',', true) would return 00,00 if target number is 0
toCurrencyStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed
char decimalSeparator
boolean decimalSeparatorAlwaysShown

It returns the String representation of the target as a currency in the given locale taking into account the given parameters. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toCurrencyStr(Locale.UK.toString(), 3, 2, 2, ',', ',', true) would return 1,000,00 if target number is 1000
toCurrencyStr(Locale.UK.toString(), 2, 2, 4, ',', ',', true) would return 00,00 if target number is 0
toDoubleFunction<Number,Double>

It converts the target into a Double

toDoubleFunction<Number,Double>int scale
RoundingMode roundingMode

It converts the input into a Double using the given scale and RoundingMode

toFloatFunction<Number,Float>

It converts the input into a Float

toFloatFunction<Number,Float>int scale
RoundingMode roundingMode

It converts the target object into a Float using the given scale and RoundingMode

toIntegerFunction<Number,Integer>

It converts the target into an Integer

toIntegerFunction<Number,Integer>RoundingMode roundingMode

It converts the input into an Integer using the given RoundingMode

toLongFunction<Number,Long>

It converts the input into a Long

toLongFunction<Number,Long>RoundingMode roundingMode

It converts the input into a Long using the given RoundingMode

toPercentStrFunction<Number,String>

A String representing a percentage is created from the target number.

toPercentStrFunction<Number,String>boolean groupingUsed

A String representing a percentage is created from the target number either using grouping or not depending on the given parameter. So,

toPercentStr(true) would return 100,000% if target number is 1000
toPercentStr(false) would return 100000% if target number is 1000
toPercentStrFunction<Number,String>Locale locale

A String representing a percentage is created from the target number in the given Locale

toPercentStrFunction<Number,String>String locale

A String representing a percentage is created from the target number in the given locale

toPercentStrFunction<Number,String>Locale locale
boolean groupingUsed

A String representing a percentage is created from the target number in the given Locale. Grouping will be used depending on the value of the groupingUsed parameter.

toPercentStrFunction<Number,String>String locale
boolean groupingUsed

A String representing a percentage is created from the target number in the given locale. Grouping will be used depending on the value of the groupingUsed parameter.

toPercentStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed

A String representing a percentage is created from the target number in the given Locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters.

toPercentStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed

A String representing a percentage is created from the target number in the given locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters.

toPercentStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
char groupingSeparator
char decimalSeparator
boolean decimalSeparatorAlwaysShown

A String representing a percentage is created from the target number in the given Locale and using the other given parameters as well. If necessary, it will add leading or trailing zeros to the string based on the given parameters.

toPercentStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed
char decimalSeparator
boolean decimalSeparatorAlwaysShown

A String representing a percentage is created from the target number in the given locale and using the other given parameters as well. If necessary, it will add leading or trailing zeros to the string based on the given parameters.

toPercentStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
char groupingSeparator
char decimalSeparator
boolean decimalSeparatorAlwaysShown

A String representing a percentage is created from the target number in the given locale and using the other given parameters as well. If necessary, it will add leading or trailing zeros to the string based on the given parameters.

toPercentStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed
char decimalSeparator
boolean decimalSeparatorAlwaysShown

A String representing a percentage is created from the target number in the given locale and using the other given parameters as well. If necessary, it will add leading or trailing zeros to the string based on the given parameters.

toShortFunction<Number,Short>

It converts the input into a Short

toShortFunction<Number,Short>RoundingMode roundingMode

It converts the target into a Short using the given RoundingMode

toStrFunction<Number,String>

It returns the String representation of the input number

toStrFunction<Number,String>boolean groupingUsed

It returns the String representation of the input number either using or not using grouping

toStrFunction<Number,String>Locale locale

It returns the String representation of the target number in the given Locale

toStrFunction<Number,String>String locale

It returns the String representation of the target number in the given locale

toStrFunction<Number,String>Locale locale
boolean groupingUsed

It returns the String representation of the target number in the given Locale. Grouping will be used depending on the value of the groupingUsed parameter

toStrFunction<Number,String>String locale
boolean groupingUsed

It returns the String representation of the target number in the given locale. Grouping will be used depending on the value of the groupingUsed parameter

toStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed

It returns the String representation of the target number in the given Locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toStr(Locale.ENGLISH, 3, 2, 2, true) would return 010.00 if target number is 10
toStr(Locale.ENGLISH, 2, 2, 4, true) would return 00.00 if target number is 0
toStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed

It returns the String representation of the target number in the given locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toStr(Locale.ENGLISH.toString(), 3, 2, 2, true) would return 010.00 if target number is 10
toStr(Locale.ENGLISH.toString(), 2, 2, 4, true) would return 00.00 if target number is 0
toStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
char groupingSeparator
char decimalSeparator
boolean decimalSeparatorAlwaysShown

It returns the String representation of the target number in the given Locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toStr(Locale.ENGLISH, 3, 2, 2, ',', '.', true) would return 1,000.00 if target number is 1000
toStr(Locale.ENGLISH, 2, 2, 4, ',', '.', true) would return 00.00 if target number is 0
toStrFunction<Number,String>Locale locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed
char decimalSeparator
boolean decimalSeparatorAlwaysShown

It returns the String representation of the target number in the given Locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toStr(Locale.ENGLISH, 3, 2, 2, true, ',', true) would return 1,000,00 if target number is 1000
toStr(Locale.ENGLISH, 2, 2, 4, true, ',', true) would return 00,00 if target number is 0
toStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
char groupingSeparator
char decimalSeparator
boolean decimalSeparatorAlwaysShown

It returns the String representation of the target number in the given locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toStr(Locale.ENGLISH.toString(), 3, 2, 2, ',', '.', true) would return 1,000.00 if target number is 1000
toStr(Locale.ENGLISH.toString(), 2, 2, 4, ',', '.', true) would return 00.00 if target number is 0
toStrFunction<Number,String>String locale
int minIntegerDigits
int minFractionDigits
int maxFractionDigits
boolean groupingUsed
char decimalSeparator
boolean decimalSeparatorAlwaysShown

It returns the String representation of the target number in the given locale. If necessary, it will add leading or trailing zeros to the string based on the given parameters. So,

toStr(Locale.ENGLISH.toString(), 3, 2, 2, true, ',', true) would return 1,000,00 if target number is 1000
toStr(Locale.ENGLISH.toString(), 2, 2, 4, true, ',', true) would return 00,00 if target number is 0