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 TRoundingModeTRoundingMode.valueOf(int mode) Converts rounding mode constants from classBigDecimalintoRoundingModevalues.static TRoundingModeReturns 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 newBigDecimalwhose value isthis / divisor.TBigDecimal.divide(TBigDecimal divisor, TRoundingMode roundingMode) Returns a newBigDecimalwhose value isthis / divisor.TBigDecimal.setScale(int newScale, TRoundingMode roundingMode) Returns a newBigDecimalinstance with the specified scale.Constructors in org.teavm.classlib.java.math with parameters of type TRoundingModeModifierConstructorDescriptionTMathContext(int precision, TRoundingMode roundingMode) Constructs a newMathContextwith 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 TRoundingMode