Uses of Enum
org.teavm.classlib.java.math.TRoundingMode
Packages that use TRoundingMode
-
Uses of TRoundingMode in org.teavm.classlib.java.math
Methods in org.teavm.classlib.java.math that return TRoundingModeModifier and TypeMethodDescriptionTMathContext.getRoundingMode()
Returns the rounding mode.static TRoundingMode
TRoundingMode.valueOf(int mode)
Converts rounding mode constants from classBigDecimal
intoRoundingMode
values.static TRoundingMode
Returns the enum constant of this type with the specified name.static TRoundingMode[]
TRoundingMode.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.teavm.classlib.java.math with parameters of type TRoundingModeModifier and TypeMethodDescriptionTBigDecimal.divide(TBigDecimal divisor, int scale, TRoundingMode roundingMode)
Returns a newBigDecimal
whose value isthis / divisor
.TBigDecimal.divide(TBigDecimal divisor, TRoundingMode roundingMode)
Returns a newBigDecimal
whose value isthis / divisor
.TBigDecimal.setScale(int newScale, TRoundingMode roundingMode)
Returns a newBigDecimal
instance with the specified scale.Constructors in org.teavm.classlib.java.math with parameters of type TRoundingModeModifierConstructorDescriptionTMathContext(int precision, TRoundingMode roundingMode)
Constructs a newMathContext
with the specified precision and with the specified rounding mode. -
Uses of TRoundingMode in org.teavm.classlib.java.text
Methods in org.teavm.classlib.java.text that return TRoundingModeMethods in org.teavm.classlib.java.text with parameters of type TRoundingModeModifier and TypeMethodDescriptionvoid
TNumberFormat.setRoundingMode(TRoundingMode roundingMode)