| Package | Description |
|---|---|
| org.jscience.physics.amount |
Provides support for exact or arbitrary precision measurements.
|
| Modifier and Type | Method and Description |
|---|---|
static AmountFormat |
AmountFormat.getBracketErrorInstance(int digitsInError)
Returns a format for which the error is represented by an integer
value in brackets; for example
"1.3456[20] m"
is equivalent to "1.3456 ± 0.0020 m". |
static AmountFormat |
AmountFormat.getExactDigitsInstance()
Returns a format for which only digits guaranteed to be exact are
written out.
|
static AmountFormat |
AmountFormat.getInstance()
Returns the current
local
format (default AmountFormat.getPlusMinusErrorInstance(2)). |
static AmountFormat |
AmountFormat.getPlusMinusErrorInstance(int digitsInError)
Returns a format for which the error (if present) is stated using
the '±' character; for example
"(1.34 ± 0.01) m". |
| Modifier and Type | Method and Description |
|---|---|
static void |
AmountFormat.setInstance(AmountFormat format)
Sets the current
local format. |