Uses of Class
com.ibm.icu.math.BigDecimal
Packages that use BigDecimal
Package
Description
-
Uses of BigDecimal in com.ibm.icu.dev.demo.rbnf
Fields in com.ibm.icu.dev.demo.rbnf declared as BigDecimal -
Uses of BigDecimal in com.ibm.icu.impl
Methods in com.ibm.icu.impl with parameters of type BigDecimalModifier and TypeMethodDescriptionDateNumberFormat.format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) -
Uses of BigDecimal in com.ibm.icu.impl.icuadapter
Methods in com.ibm.icu.impl.icuadapter with parameters of type BigDecimalModifier and TypeMethodDescriptionNumberFormatJDK.format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) -
Uses of BigDecimal in com.ibm.icu.math
Fields in com.ibm.icu.math declared as BigDecimalModifier and TypeFieldDescriptionstatic final BigDecimalBigDecimal.ONETheBigDecimalconstant "1".static final BigDecimalBigDecimal.TENTheBigDecimalconstant "10".static final BigDecimalBigDecimal.ZEROTheBigDecimalconstant "0".Methods in com.ibm.icu.math that return BigDecimalModifier and TypeMethodDescriptionBigDecimal.abs()Returns a plainBigDecimalwhose value is the absolute value of thisBigDecimal.BigDecimal.abs(MathContext set) Returns aBigDecimalwhose value is the absolute value of thisBigDecimal.BigDecimal.add(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis+rhs, using fixed point arithmetic.BigDecimal.add(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis+rhs.private static final BigDecimalBigDecimal.clone(BigDecimal dec) BigDecimal.divide(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis/rhs, using fixed point arithmetic.BigDecimal.divide(BigDecimal rhs, int round) Returns a plainBigDecimalwhose value isthis/rhs, using fixed point arithmetic and a rounding mode.BigDecimal.divide(BigDecimal rhs, int scale, int round) Returns a plainBigDecimalwhose value isthis/rhs, using fixed point arithmetic and a given scale and rounding mode.BigDecimal.divide(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis/rhs.BigDecimal.divideInteger(BigDecimal rhs) Returns a plainBigDecimalwhose value is the integer part ofthis/rhs.BigDecimal.divideInteger(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value is the integer part ofthis/rhs.private BigDecimalBigDecimal.dodivide(char code, BigDecimal rhs, MathContext set, int scale) private BigDecimalBigDecimal.finish(MathContext set, boolean strip) BigDecimal.max(BigDecimal rhs) Returns a plainBigDecimalwhose value is the maximum ofthisandrhs.BigDecimal.max(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value is the maximum ofthisandrhs.BigDecimal.min(BigDecimal rhs) Returns a plainBigDecimalwhose value is the minimum ofthisandrhs.BigDecimal.min(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value is the minimum ofthisandrhs.BigDecimal.movePointLeft(int n) Returns a plainBigDecimalwhose decimal point has been moved to the left by a specified number of positions.BigDecimal.movePointRight(int n) Returns a plainBigDecimalwhose decimal point has been moved to the right by a specified number of positions.BigDecimal.multiply(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis*rhs, using fixed point arithmetic.BigDecimal.multiply(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis*rhs.BigDecimal.negate()Returns a plainBigDecimalwhose value is-this.BigDecimal.negate(MathContext set) Returns aBigDecimalwhose value is-this.BigDecimal.plus()Returns a plainBigDecimalwhose value is+this.BigDecimal.plus(MathContext set) Returns aBigDecimalwhose value is+this.BigDecimal.pow(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis**rhs, using fixed point arithmetic.BigDecimal.pow(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis**rhs.BigDecimal.remainder(BigDecimal rhs) Returns a plainBigDecimalwhose value is the remainder ofthis/rhs, using fixed point arithmetic.BigDecimal.remainder(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value is the remainder ofthis/rhs.private BigDecimalBigDecimal.round(int len, int mode) private BigDecimalBigDecimal.round(MathContext set) BigDecimal.setScale(int scale) Returns a plainBigDecimalwith a given scale.BigDecimal.setScale(int scale, int round) Returns a plainBigDecimalwith a given scale.BigDecimal.subtract(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis-rhs, using fixed point arithmetic.BigDecimal.subtract(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis-rhs.static BigDecimalBigDecimal.valueOf(double dub) Translates adoubleto aBigDecimal.static BigDecimalBigDecimal.valueOf(long lint) Translates alongto aBigDecimal.static BigDecimalBigDecimal.valueOf(long lint, int scale) Translates alongto aBigDecimalwith a given scale.Methods in com.ibm.icu.math with parameters of type BigDecimalModifier and TypeMethodDescriptionBigDecimal.add(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis+rhs, using fixed point arithmetic.BigDecimal.add(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis+rhs.private voidBigDecimal.checkdigits(BigDecimal rhs, int dig) private static final BigDecimalBigDecimal.clone(BigDecimal dec) intBigDecimal.compareTo(BigDecimal rhs) Compares thisBigDecimalto another, using unlimited precision.intBigDecimal.compareTo(BigDecimal rhs, MathContext set) Compares thisBigDecimalto another.BigDecimal.divide(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis/rhs, using fixed point arithmetic.BigDecimal.divide(BigDecimal rhs, int round) Returns a plainBigDecimalwhose value isthis/rhs, using fixed point arithmetic and a rounding mode.BigDecimal.divide(BigDecimal rhs, int scale, int round) Returns a plainBigDecimalwhose value isthis/rhs, using fixed point arithmetic and a given scale and rounding mode.BigDecimal.divide(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis/rhs.BigDecimal.divideInteger(BigDecimal rhs) Returns a plainBigDecimalwhose value is the integer part ofthis/rhs.BigDecimal.divideInteger(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value is the integer part ofthis/rhs.private BigDecimalBigDecimal.dodivide(char code, BigDecimal rhs, MathContext set, int scale) BigDecimal.max(BigDecimal rhs) Returns a plainBigDecimalwhose value is the maximum ofthisandrhs.BigDecimal.max(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value is the maximum ofthisandrhs.BigDecimal.min(BigDecimal rhs) Returns a plainBigDecimalwhose value is the minimum ofthisandrhs.BigDecimal.min(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value is the minimum ofthisandrhs.BigDecimal.multiply(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis*rhs, using fixed point arithmetic.BigDecimal.multiply(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis*rhs.BigDecimal.pow(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis**rhs, using fixed point arithmetic.BigDecimal.pow(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis**rhs.BigDecimal.remainder(BigDecimal rhs) Returns a plainBigDecimalwhose value is the remainder ofthis/rhs, using fixed point arithmetic.BigDecimal.remainder(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value is the remainder ofthis/rhs.BigDecimal.subtract(BigDecimal rhs) Returns a plainBigDecimalwhose value isthis-rhs, using fixed point arithmetic.BigDecimal.subtract(BigDecimal rhs, MathContext set) Returns aBigDecimalwhose value isthis-rhs. -
Uses of BigDecimal in com.ibm.icu.text
Fields in com.ibm.icu.text declared as BigDecimalModifier and TypeFieldDescriptionprivate static final BigDecimalRuleBasedNumberFormat.MAX_VALUEprivate static final BigDecimalRuleBasedNumberFormat.MIN_VALUEMethods in com.ibm.icu.text with parameters of type BigDecimalModifier and TypeMethodDescriptionDecimalFormat.format(BigDecimal number, StringBuffer result, FieldPosition fieldPosition) Formats an ICU BigDecimal.final StringNumberFormat.format(BigDecimal number) Convenience method to format an ICU BigDecimal.abstract StringBufferNumberFormat.format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) Formats an ICU BigDecimal.RuleBasedNumberFormat.format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) NEW Implement com.ibm.icu.text.NumberFormat: Format a BigDecimal.voidDecimalFormat.setRoundingIncrement(BigDecimal increment) Rounding and Digit Limits: Overload ofDecimalFormat.setRoundingIncrement(java.math.BigDecimal). -
Uses of BigDecimal in com.ibm.icu.util
Methods in com.ibm.icu.util that return BigDecimalModifier and TypeMethodDescriptionstatic BigDecimalUniversalTimeScale.bigDecimalFrom(double otherTime, int timeScale) Convert adoubledatetime from the given time scale to the universal time scale.static BigDecimalUniversalTimeScale.bigDecimalFrom(long otherTime, int timeScale) Convert alongdatetime from the given time scale to the universal time scale.static BigDecimalUniversalTimeScale.bigDecimalFrom(BigDecimal otherTime, int timeScale) Convert aBigDecimaldatetime from the given time scale to the universal time scale.static BigDecimalUniversalTimeScale.toBigDecimal(long universalTime, int timeScale) Convert a datetime from the universal time scale to aBigDecimalin the given time scale.static BigDecimalUniversalTimeScale.toBigDecimal(BigDecimal universalTime, int timeScale) Convert a datetime from the universal time scale to aBigDecimalin the given time scale.static BigDecimalUniversalTimeScale.toBigDecimalTrunc(BigDecimal universalTime, int timeScale) Deprecated.This API is ICU internal only.Methods in com.ibm.icu.util with parameters of type BigDecimalModifier and TypeMethodDescriptionstatic BigDecimalUniversalTimeScale.bigDecimalFrom(BigDecimal otherTime, int timeScale) Convert aBigDecimaldatetime from the given time scale to the universal time scale.static BigDecimalUniversalTimeScale.toBigDecimal(BigDecimal universalTime, int timeScale) Convert a datetime from the universal time scale to aBigDecimalin the given time scale.static BigDecimalUniversalTimeScale.toBigDecimalTrunc(BigDecimal universalTime, int timeScale) Deprecated.This API is ICU internal only.