| Package | Description |
|---|---|
| com.opengamma.strata.basics.value |
Basic financial tools for working with values.
|
| Modifier and Type | Method and Description |
|---|---|
static Rounding |
Rounding.none()
Obtains an instance that performs no rounding.
|
static Rounding |
Rounding.of(Currency currency)
Obtains an instance that rounds to the number of minor units in the currency.
|
static Rounding |
Rounding.ofDecimalPlaces(int decimalPlaces)
Obtains an instance that rounds to the specified number of decimal places.
|
static Rounding |
Rounding.ofFractionalDecimalPlaces(int decimalPlaces,
int fraction)
Obtains an instance from the number of decimal places and fraction.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.