BigDecimal BigDecimal Class

Definition

[Android.Runtime.Register("android/icu/math/BigDecimal", ApiSince=24, DoNotGenerateAcw=true)]
public class BigDecimal : Java.Lang.Number, IDisposable, Java.Lang.IComparable
type BigDecimal = class
    inherit Number
    interface ISerializable
    interface IJavaObject
    interface IDisposable
    interface IComparable
Inheritance
Attributes
Implements

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

BigDecimal(BigDecimal) BigDecimal(BigDecimal)
BigDecimal(BigInteger) BigDecimal(BigInteger)
BigDecimal(BigInteger, Int32) BigDecimal(BigInteger, Int32)
BigDecimal(Char[]) BigDecimal(Char[])
BigDecimal(Char[], Int32, Int32) BigDecimal(Char[], Int32, Int32)
BigDecimal(Double) BigDecimal(Double)
BigDecimal(Int32) BigDecimal(Int32)
BigDecimal(Int64) BigDecimal(Int64)
BigDecimal(IntPtr, JniHandleOwnership) BigDecimal(IntPtr, JniHandleOwnership)
BigDecimal(String) BigDecimal(String)

Fields

RoundCeiling RoundCeiling
RoundDown RoundDown
RoundFloor RoundFloor
RoundHalfDown RoundHalfDown
RoundHalfEven RoundHalfEven
RoundHalfUp RoundHalfUp
RoundUnnecessary RoundUnnecessary
RoundUp RoundUp

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
One One
PeerReference PeerReference Inherited from Object
Ten Ten
ThresholdClass ThresholdClass
ThresholdType ThresholdType
Zero Zero

Methods

Abs() Abs()
Abs(MathContext) Abs(MathContext)
Add(BigDecimal) Add(BigDecimal)
Add(BigDecimal, MathContext) Add(BigDecimal, MathContext)
ByteValue() ByteValue()

Returns this object's value as a byte.

(Inherited from Number)
ByteValueExact() ByteValueExact()
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
CompareTo(BigDecimal) CompareTo(BigDecimal)
CompareTo(BigDecimal, MathContext) CompareTo(BigDecimal, MathContext)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Divide(BigDecimal) Divide(BigDecimal)
Divide(BigDecimal, Int32, RoundOptions) Divide(BigDecimal, Int32, RoundOptions)
Divide(BigDecimal, MathContext) Divide(BigDecimal, MathContext)
Divide(BigDecimal, RoundOptions) Divide(BigDecimal, RoundOptions)
DivideInteger(BigDecimal) DivideInteger(BigDecimal)
DivideInteger(BigDecimal, MathContext) DivideInteger(BigDecimal, MathContext)
DoubleValue() DoubleValue()
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
FloatValue() FloatValue()
Format(Int32, Int32) Format(Int32, Int32)
Format(Int32, Int32, Int32, Int32, Int32, RoundOptions) Format(Int32, Int32, Int32, Int32, Int32, RoundOptions)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
IntValue() IntValue()
IntValueExact() IntValueExact()
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
LongValue() LongValue()
LongValueExact() LongValueExact()
Max(BigDecimal) Max(BigDecimal)
Max(BigDecimal, MathContext) Max(BigDecimal, MathContext)
Min(BigDecimal) Min(BigDecimal)
Min(BigDecimal, MathContext) Min(BigDecimal, MathContext)
MovePointLeft(Int32) MovePointLeft(Int32)
MovePointRight(Int32) MovePointRight(Int32)
Multiply(BigDecimal) Multiply(BigDecimal)
Multiply(BigDecimal, MathContext) Multiply(BigDecimal, MathContext)
Negate() Negate()
Negate(MathContext) Negate(MathContext)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
Plus() Plus()
Plus(MathContext) Plus(MathContext)
Pow(BigDecimal) Pow(BigDecimal)
Pow(BigDecimal, MathContext) Pow(BigDecimal, MathContext)
Remainder(BigDecimal) Remainder(BigDecimal)
Remainder(BigDecimal, MathContext) Remainder(BigDecimal, MathContext)
Scale() Scale()
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetScale(Int32) SetScale(Int32)
SetScale(Int32, RoundOptions) SetScale(Int32, RoundOptions)
ShortValue() ShortValue()

Returns this object's value as a short.

(Inherited from Number)
ShortValueExact() ShortValueExact()
Signum() Signum()
Subtract(BigDecimal) Subtract(BigDecimal)
Subtract(BigDecimal, MathContext) Subtract(BigDecimal, MathContext)
ToArray<T>() ToArray<T>() Inherited from Object
ToBigDecimal() ToBigDecimal()
ToBigInteger() ToBigInteger()
ToBigIntegerExact() ToBigIntegerExact()
ToCharArray() ToCharArray()
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
UnscaledValue() UnscaledValue()
ValueOf(Double) ValueOf(Double)
ValueOf(Int64) ValueOf(Int64)
ValueOf(Int64, Int32) ValueOf(Int64, Int32)
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IComparable.CompareTo(Object) IComparable.CompareTo(Object)
IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to