介绍
- java.text.DecimalFormatSymbols
- public class DecimalFormatSymbols implements Cloneable, Serializable
API
static
- getInstance
- getAvailableLocales
构造器
- DecimalFormatSymbols()
- DecimalFormatSymbols( Locale locale )
public
-
setCurrency, getCurrency
-
setDigit, getDigit
-
setPatternSeparator, getPatternSeparator
-
setCurrencySymbol, getCurrencySymbol
- 像
$
和EUR
这样的字符串,用于包含货币符号的前缀或后缀中
- 像
-
setDecimalSeparator, getDecimalSeparator, setMonetaryDecimalSeparator, getMonetaryDecimalSeparator
- 小数分隔符,用于数字或货币值
-
setExponentSeparator, getExponentSeparator
- 在指数 E 部分之前的字符串,通常是
E
- 在指数 E 部分之前的字符串,通常是
-
setGroupingSeparator, getGroupingSeparator, setMonetaryGroupingSeparator, getMonetaryGroupingSeparator
- 群组分隔符,用于数字或货币值
-
setInfinity, getInfinity, setNaN, getNaN
- 用于格式化的字符串,Double.POSITIVE_INFINITY , Double.NEGATIVE_INFINITY , Double.NaN
-
setInternationalCurrencySymbol, getInternationalCurrencySymbol
- 遵循 ISO 4217 标准的货币符号
-
setMinusSign, getMinusSign
- 在未指定负数模式的情况下使用的负号
-
setPerMill, getPerMill, setPercent, getPercent
- 用于百分号和千分号的符号
-
setZeroDigit, getZeroDigit
- 用于数字位0的字符。其他数字位为后续的 9 个 Unicode 字符
- DecimalFormatSymbols 20230704 java textdecimalformatsymbols 20230704 java text 20230704 collator java text messageformat 20230704 java text decimalformat 20230704 java text 20230704 currency java util decimalformatsymbols numberformat 20230703 java text 20230704 成语20230704 公钥bouncycastle framework 20230704