W3cubDocs

/Haxe Java

BigDecimal

package java.math

extends Number

implements Comparable<BigDecimal>

@:libType@:javaNative@:native("java.math.BigDecimal")@:javaCanonical("java.math","BigDecimal") Available on java

Constructor

@:overload new (param1:Int64, param2:MathContext)

@:overload new (param1:NativeArray<Char16>, param2:Int, param3:Int)

@:overload new (param1:NativeArray<Char16>, param2:Int, param3:Int, param4:MathContext)

@:overload new (param1:NativeArray<Char16>)

@:overload new (param1:NativeArray<Char16>, param2:MathContext)

@:overload new (param1:String)

@:overload new (param1:String, param2:MathContext)

@:overload new (param1:Float)

@:overload new (param1:Float, param2:MathContext)

@:overload new (param1:BigInteger)

@:overload new (param1:BigInteger, param2:MathContext)

@:overload new (param1:BigInteger, param2:Int)

@:overload new (param1:BigInteger, param2:Int, param3:MathContext)

@:overload new (param1:Int)

@:overload new (param1:Int, param2:MathContext)

@:overload new (param1:Int64)

Methods

@:overload abs (param1:MathContext):BigDecimal

@:overload abs ():BigDecimal

@:overload add (param1:BigDecimal, param2:MathContext):BigDecimal

@:overload add (param1:BigDecimal):BigDecimal

@:overload byteValueExact ():Int8

@:overload compareTo (param1:Dynamic):Int

@:overload compareTo (param1:BigDecimal):Int

@:overload divide (param1:BigDecimal, param2:MathContext):BigDecimal

@:overload divide (param1:BigDecimal, param2:Int, param3:Int):BigDecimal

@:overload divide (param1:BigDecimal, param2:Int, param3:RoundingMode):BigDecimal

@:overload divide (param1:BigDecimal, param2:Int):BigDecimal

@:overload divide (param1:BigDecimal, param2:RoundingMode):BigDecimal

@:overload divide (param1:BigDecimal):BigDecimal

@:overload divideAndRemainder (param1:BigDecimal, param2:MathContext):NativeArray<BigDecimal>

@:overload divideAndRemainder (param1:BigDecimal):NativeArray<BigDecimal>

@:overload divideToIntegralValue (param1:BigDecimal, param2:MathContext):BigDecimal

@:overload divideToIntegralValue (param1:BigDecimal):BigDecimal

@:overload equals (param1:Dynamic):Bool

@:overload hashCode ():Int

@:overload intValueExact ():Int

@:overload longValueExact ():Int64

@:overload max (param1:BigDecimal):BigDecimal

@:overload min (param1:BigDecimal):BigDecimal

@:overload movePointLeft (param1:Int):BigDecimal

@:overload movePointRight (param1:Int):BigDecimal

@:overload multiply (param1:BigDecimal, param2:MathContext):BigDecimal

@:overload multiply (param1:BigDecimal):BigDecimal

@:overload negate (param1:MathContext):BigDecimal

@:overload negate ():BigDecimal

@:overload plus (param1:MathContext):BigDecimal

@:overload plus ():BigDecimal

@:overload pow (param1:Int, param2:MathContext):BigDecimal

@:overload pow (param1:Int):BigDecimal

@:overload precision ():Int

@:overload remainder (param1:BigDecimal, param2:MathContext):BigDecimal

@:overload remainder (param1:BigDecimal):BigDecimal

@:overload round (param1:MathContext):BigDecimal

@:overload scale ():Int

@:overload scaleByPowerOfTen (param1:Int):BigDecimal

@:overload setScale (param1:Int):BigDecimal

@:overload setScale (param1:Int, param2:RoundingMode):BigDecimal

@:overload setScale (param1:Int, param2:Int):BigDecimal

@:overload shortValueExact ():Int16

@:overload signum ():Int

@:overload stripTrailingZeros ():BigDecimal

@:overload subtract (param1:BigDecimal, param2:MathContext):BigDecimal

@:overload subtract (param1:BigDecimal):BigDecimal

@:overload toBigInteger ():BigInteger

@:overload toBigIntegerExact ():BigInteger

@:overload toEngineeringString ():String

@:overload toPlainString ():String

@:overload toString ():String

@:overload ulp ():BigDecimal

@:overload unscaledValue ():BigInteger

Static variables

@:final static ONE:BigDecimal

@:final static read only ROUND_CEILING:Int

@:final static read only ROUND_DOWN:Int

@:final static read only ROUND_FLOOR:Int

@:final static read only ROUND_HALF_DOWN:Int

@:final static read only ROUND_HALF_EVEN:Int

@:final static read only ROUND_HALF_UP:Int

@:final static read only ROUND_UNNECESSARY:Int

@:final static read only ROUND_UP:Int

@:final static TEN:BigDecimal

@:final static ZERO:BigDecimal

Static methods

@:overload static valueOf (param1:Float):BigDecimal

@:overload static valueOf (param1:Int64, param2:Int):BigDecimal

@:overload static valueOf (param1:Int64):BigDecimal

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/math/BigDecimal.html