Package | Description |
---|---|
com.ibm.icu.number |
Library for localized number formatting introduced in ICU 60; for usage, see com.ibm.icu.number.NumberFormatter.
|
Modifier and Type | Method | Description |
---|---|---|
static ScientificNotation |
Notation.engineering() |
Print the number using engineering notation, a variant of scientific notation in which the exponent must be
divisible by 3.
|
static ScientificNotation |
Notation.scientific() |
Print the number using scientific notation (also known as scientific form, standard index form, or standard form
in the UK).
|
ScientificNotation |
ScientificNotation.withExponentSignDisplay(NumberFormatter.SignDisplay exponentSignDisplay) |
Sets whether to show the sign on positive and negative exponents in scientific notation.
|
ScientificNotation |
ScientificNotation.withMinExponentDigits(int minExponentDigits) |
Sets the minimum number of digits to show in the exponent of scientific notation, padding with zeros if
necessary.
|
Copyright © 2016 Unicode, Inc. and others.