public class MathFunctions
extends java.lang.Object
Constructor and Description |
---|
MathFunctions() |
Modifier and Type | Method and Description |
---|---|
static <any> |
divide(double divisor) |
static <any> |
percent(int significantDigits)
returns a string where the input number is expressed as percent, with given number of significant digits
|
static <any> |
plus(double addend) |
static <any> |
plus(int addend) |
static <any> |
plus(long addend) |
static <any> |
readableString(int significantDigits,
int maxLen)
returns a string of up to maxLen length (longer in extreme cases) also capped at significantDigits significantDigits
|
static <any> |
times(double multiplicand) |
static <any> |
times(int multiplicand) |
static <any> |
times(long multiplicand) |
public static <any> plus(int addend)
public static <any> plus(long addend)
public static <any> plus(double addend)
public static <any> times(int multiplicand)
public static <any> times(long multiplicand)
public static <any> times(double multiplicand)
public static <any> divide(double divisor)
public static <any> readableString(int significantDigits, int maxLen)
public static <any> percent(int significantDigits)