Table of Contents

Class BigDecimal

Namespace
Java.Math
Assembly
MASES.JNet.dll
public class BigDecimal : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
BigDecimal
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

BigDecimal()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public BigDecimal()

BigDecimal(String)

public BigDecimal(String arg0)

Parameters

arg0 String

String

BigDecimal(String, MathContext)

public BigDecimal(String arg0, MathContext arg1)

Parameters

arg0 String

String

arg1 MathContext

MathContext

BigDecimal(BigInteger)

public BigDecimal(BigInteger arg0)

Parameters

arg0 BigInteger

BigInteger

BigDecimal(BigInteger, MathContext)

public BigDecimal(BigInteger arg0, MathContext arg1)

Parameters

arg0 BigInteger

BigInteger

arg1 MathContext

MathContext

BigDecimal(BigInteger, int)

public BigDecimal(BigInteger arg0, int arg1)

Parameters

arg0 BigInteger

BigInteger

arg1 int

int

BigDecimal(BigInteger, int, MathContext)

public BigDecimal(BigInteger arg0, int arg1, MathContext arg2)

Parameters

arg0 BigInteger

BigInteger

arg1 int

int

arg2 MathContext

MathContext

BigDecimal(char[])

public BigDecimal(char[] arg0)

Parameters

arg0 char[]

char

BigDecimal(char[], MathContext)

public BigDecimal(char[] arg0, MathContext arg1)

Parameters

arg0 char[]

char

arg1 MathContext

MathContext

BigDecimal(char[], int, int)

public BigDecimal(char[] arg0, int arg1, int arg2)

Parameters

arg0 char[]

char

arg1 int

int

arg2 int

int

BigDecimal(char[], int, int, MathContext)

public BigDecimal(char[] arg0, int arg1, int arg2, MathContext arg3)

Parameters

arg0 char[]

char

arg1 int

int

arg2 int

int

arg3 MathContext

MathContext

BigDecimal(double)

public BigDecimal(double arg0)

Parameters

arg0 double

double

BigDecimal(double, MathContext)

public BigDecimal(double arg0, MathContext arg1)

Parameters

arg0 double

double

arg1 MathContext

MathContext

BigDecimal(int)

public BigDecimal(int arg0)

Parameters

arg0 int

int

BigDecimal(int, MathContext)

public BigDecimal(int arg0, MathContext arg1)

Parameters

arg0 int

int

arg1 MathContext

MathContext

BigDecimal(long)

public BigDecimal(long arg0)

Parameters

arg0 long

long

BigDecimal(long, MathContext)

public BigDecimal(long arg0, MathContext arg1)

Parameters

arg0 long

long

arg1 MathContext

MathContext

BigDecimal(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public BigDecimal(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

ONE

public static BigDecimal ONE { get; }

Property Value

BigDecimal

TEN

public static BigDecimal TEN { get; }

Property Value

BigDecimal

ZERO

public static BigDecimal ZERO { get; }

Property Value

BigDecimal

Methods

Abs()

public BigDecimal Abs()

Returns

BigDecimal

BigDecimal

Abs(MathContext)

public BigDecimal Abs(MathContext arg0)

Parameters

arg0 MathContext

MathContext

Returns

BigDecimal

BigDecimal

Add(BigDecimal)

public BigDecimal Add(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal

BigDecimal

Add(BigDecimal, MathContext)

public BigDecimal Add(BigDecimal arg0, MathContext arg1)

Parameters

arg0 BigDecimal

BigDecimal

arg1 MathContext

MathContext

Returns

BigDecimal

BigDecimal

ByteValueExact()

public byte ByteValueExact()

Returns

byte

byte

CompareTo(BigDecimal)

public int CompareTo(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

Divide(BigDecimal)

public BigDecimal Divide(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal

BigDecimal

Divide(BigDecimal, MathContext)

public BigDecimal Divide(BigDecimal arg0, MathContext arg1)

Parameters

arg0 BigDecimal

BigDecimal

arg1 MathContext

MathContext

Returns

BigDecimal

BigDecimal

Divide(BigDecimal, RoundingMode)

public BigDecimal Divide(BigDecimal arg0, RoundingMode arg1)

Parameters

arg0 BigDecimal

BigDecimal

arg1 RoundingMode

RoundingMode

Returns

BigDecimal

BigDecimal

Divide(BigDecimal, int, RoundingMode)

public BigDecimal Divide(BigDecimal arg0, int arg1, RoundingMode arg2)

Parameters

arg0 BigDecimal

BigDecimal

arg1 int

int

arg2 RoundingMode

RoundingMode

Returns

BigDecimal

BigDecimal

DivideAndRemainder(BigDecimal)

public BigDecimal[] DivideAndRemainder(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal[]

BigDecimal

DivideAndRemainder(BigDecimal, MathContext)

public BigDecimal[] DivideAndRemainder(BigDecimal arg0, MathContext arg1)

Parameters

arg0 BigDecimal

BigDecimal

arg1 MathContext

MathContext

Returns

BigDecimal[]

BigDecimal

DivideToIntegralValue(BigDecimal)

public BigDecimal DivideToIntegralValue(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal

BigDecimal

DivideToIntegralValue(BigDecimal, MathContext)

public BigDecimal DivideToIntegralValue(BigDecimal arg0, MathContext arg1)

Parameters

arg0 BigDecimal

BigDecimal

arg1 MathContext

MathContext

Returns

BigDecimal

BigDecimal

IntValueExact()

public int IntValueExact()

Returns

int

int

LongValueExact()

public long LongValueExact()

Returns

long

long

Max(BigDecimal)

public BigDecimal Max(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal

BigDecimal

Min(BigDecimal)

public BigDecimal Min(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal

BigDecimal

MovePointLeft(int)

public BigDecimal MovePointLeft(int arg0)

Parameters

arg0 int

int

Returns

BigDecimal

BigDecimal

MovePointRight(int)

public BigDecimal MovePointRight(int arg0)

Parameters

arg0 int

int

Returns

BigDecimal

BigDecimal

Multiply(BigDecimal)

public BigDecimal Multiply(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal

BigDecimal

Multiply(BigDecimal, MathContext)

public BigDecimal Multiply(BigDecimal arg0, MathContext arg1)

Parameters

arg0 BigDecimal

BigDecimal

arg1 MathContext

MathContext

Returns

BigDecimal

BigDecimal

Negate()

public BigDecimal Negate()

Returns

BigDecimal

BigDecimal

Negate(MathContext)

public BigDecimal Negate(MathContext arg0)

Parameters

arg0 MathContext

MathContext

Returns

BigDecimal

BigDecimal

Plus()

public BigDecimal Plus()

Returns

BigDecimal

BigDecimal

Plus(MathContext)

public BigDecimal Plus(MathContext arg0)

Parameters

arg0 MathContext

MathContext

Returns

BigDecimal

BigDecimal

Pow(int)

public BigDecimal Pow(int arg0)

Parameters

arg0 int

int

Returns

BigDecimal

BigDecimal

Pow(int, MathContext)

public BigDecimal Pow(int arg0, MathContext arg1)

Parameters

arg0 int

int

arg1 MathContext

MathContext

Returns

BigDecimal

BigDecimal

Precision()

public int Precision()

Returns

int

int

Remainder(BigDecimal)

public BigDecimal Remainder(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal

BigDecimal

Remainder(BigDecimal, MathContext)

public BigDecimal Remainder(BigDecimal arg0, MathContext arg1)

Parameters

arg0 BigDecimal

BigDecimal

arg1 MathContext

MathContext

Returns

BigDecimal

BigDecimal

Round(MathContext)

public BigDecimal Round(MathContext arg0)

Parameters

arg0 MathContext

MathContext

Returns

BigDecimal

BigDecimal

Scale()

public int Scale()

Returns

int

int

ScaleByPowerOfTen(int)

public BigDecimal ScaleByPowerOfTen(int arg0)

Parameters

arg0 int

int

Returns

BigDecimal

BigDecimal

SetScale(int)

public BigDecimal SetScale(int arg0)

Parameters

arg0 int

int

Returns

BigDecimal

BigDecimal

SetScale(int, RoundingMode)

public BigDecimal SetScale(int arg0, RoundingMode arg1)

Parameters

arg0 int

int

arg1 RoundingMode

RoundingMode

Returns

BigDecimal

BigDecimal

ShortValueExact()

public short ShortValueExact()

Returns

short

short

Signum()

public int Signum()

Returns

int

int

Sqrt(MathContext)

public BigDecimal Sqrt(MathContext arg0)

Parameters

arg0 MathContext

MathContext

Returns

BigDecimal

BigDecimal

StripTrailingZeros()

public BigDecimal StripTrailingZeros()

Returns

BigDecimal

BigDecimal

Subtract(BigDecimal)

public BigDecimal Subtract(BigDecimal arg0)

Parameters

arg0 BigDecimal

BigDecimal

Returns

BigDecimal

BigDecimal

Subtract(BigDecimal, MathContext)

public BigDecimal Subtract(BigDecimal arg0, MathContext arg1)

Parameters

arg0 BigDecimal

BigDecimal

arg1 MathContext

MathContext

Returns

BigDecimal

BigDecimal

ToBigInteger()

public BigInteger ToBigInteger()

Returns

BigInteger

BigInteger

ToBigIntegerExact()

public BigInteger ToBigIntegerExact()

Returns

BigInteger

BigInteger

ToEngineeringString()

public String ToEngineeringString()

Returns

String

String

ToPlainString()

public String ToPlainString()

Returns

String

String

Ulp()

public BigDecimal Ulp()

Returns

BigDecimal

BigDecimal

UnscaledValue()

public BigInteger UnscaledValue()

Returns

BigInteger

BigInteger

ValueOf(double)

public static BigDecimal ValueOf(double arg0)

Parameters

arg0 double

double

Returns

BigDecimal

BigDecimal

ValueOf(long)

public static BigDecimal ValueOf(long arg0)

Parameters

arg0 long

long

Returns

BigDecimal

BigDecimal

ValueOf(long, int)

public static BigDecimal ValueOf(long arg0, int arg1)

Parameters

arg0 long

long

arg1 int

int

Returns

BigDecimal

BigDecimal

Operators

implicit operator Comparable(BigDecimal)

Converter from BigDecimal to Comparable

public static implicit operator Comparable(BigDecimal t)

Parameters

t BigDecimal

Returns

Comparable