W3cubDocs

/Haxe Java

BigDecimal

package java.math

extends Number

implements Comparable<BigDecimal>

Available on java

Static variables

staticfinalread onlyONE:BigDecimal

staticread onlyROUND_CEILING:Int

staticread onlyROUND_DOWN:Int

staticread onlyROUND_FLOOR:Int

staticread onlyROUND_HALF_DOWN:Int

staticread onlyROUND_HALF_EVEN:Int

staticread onlyROUND_HALF_UP:Int

staticread onlyROUND_UNNECESSARY:Int

staticread onlyROUND_UP:Int

staticfinalread onlyTEN:BigDecimal

staticfinalread onlyZERO:BigDecimal

Static methods

staticvalueOf(param1:Float):BigDecimal

staticvalueOf(param1:Int64, param2:Int):BigDecimal

staticvalueOf(param1:Int64):BigDecimal

Constructor

new(param1:Int64, param2:MathContext)

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

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

new(param1:NativeArray<Char16>)

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

new(param1:String)

new(param1:String, param2:MathContext)

new(param1:Float)

new(param1:Float, param2:MathContext)

new(param1:BigInteger)

new(param1:BigInteger, param2:MathContext)

new(param1:BigInteger, param2:Int)

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

new(param1:Int)

new(param1:Int, param2:MathContext)

new(param1:Int64)

Methods

abs(param1:MathContext):BigDecimal

abs():BigDecimal

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

add(param1:BigDecimal):BigDecimal

byteValueExact():Int8

compareTo(param1:Dynamic):Int

compareTo(param1:BigDecimal):Int

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

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

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

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

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

divide(param1:BigDecimal):BigDecimal

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

divideAndRemainder(param1:BigDecimal):NativeArray<BigDecimal>

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

divideToIntegralValue(param1:BigDecimal):BigDecimal

equals(param1:Dynamic):Bool

hashCode():Int

intValueExact():Int

longValueExact():Int64

max(param1:BigDecimal):BigDecimal

min(param1:BigDecimal):BigDecimal

movePointLeft(param1:Int):BigDecimal

movePointRight(param1:Int):BigDecimal

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

multiply(param1:BigDecimal):BigDecimal

negate(param1:MathContext):BigDecimal

negate():BigDecimal

plus(param1:MathContext):BigDecimal

plus():BigDecimal

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

pow(param1:Int):BigDecimal

precision():Int

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

remainder(param1:BigDecimal):BigDecimal

round(param1:MathContext):BigDecimal

scale():Int

scaleByPowerOfTen(param1:Int):BigDecimal

setScale(param1:Int):BigDecimal

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

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

shortValueExact():Int16

signum():Int

stripTrailingZeros():BigDecimal

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

subtract(param1:BigDecimal):BigDecimal

toBigInteger():BigInteger

toBigIntegerExact():BigInteger

toEngineeringString():String

toPlainString():String

toString():String

ulp():BigDecimal

unscaledValue():BigInteger

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