Skip to content

SystemDecimal

API reference for SystemDecimal.

Properties

PropertyTypeAccess
MaxValueSystemDecimalget
MinusOneSystemDecimalget
MinValueSystemDecimalget
OneSystemDecimalget
ZeroSystemDecimalget

Methods

Add

static Add(d1: SystemDecimal, d2: SystemDecimal) -> SystemDecimal

Ceiling

static Ceiling(d: SystemDecimal) -> SystemDecimal

Compare

static Compare(d1: SystemDecimal, d2: SystemDecimal) -> int

CompareTo

CompareTo(value: SystemDecimal) -> int
CompareTo(value: object) -> int

Divide

static Divide(d1: SystemDecimal, d2: SystemDecimal) -> SystemDecimal

Equals

static Equals(d1: SystemDecimal, d2: SystemDecimal) -> bool
Equals(value: SystemDecimal) -> bool
Equals(value: object) -> bool

Floor

static Floor(d: SystemDecimal) -> SystemDecimal

FromOACurrency

static FromOACurrency(cy: SystemInt64) -> SystemDecimal

GetBits

static GetBits(d: SystemDecimal) -> int[]

GetHashCode

GetHashCode() -> int

GetType

GetType() -> SystemType

Multiply

static Multiply(d1: SystemDecimal, d2: SystemDecimal) -> SystemDecimal

Negate

static Negate(d: SystemDecimal) -> SystemDecimal

new

static new(value: double) -> SystemDecimal
static new(bits: int[]) -> SystemDecimal
static new(lo: int, mid: int, hi: int, isNegative: bool, scale: SystemByte) -> SystemDecimal
static new(value: int) -> SystemDecimal
static new(value: SystemInt64) -> SystemDecimal
static new(value: float) -> SystemDecimal
static new(value: uint) -> SystemDecimal
static new(value: SystemUInt64) -> SystemDecimal

Parse

static Parse(s: string, style: SystemGlobalizationNumberStyles, provider: SystemIFormatProvider) -> SystemDecimal
static Parse(s: string, style: SystemGlobalizationNumberStyles) -> SystemDecimal
static Parse(s: string, provider: SystemIFormatProvider) -> SystemDecimal
static Parse(s: string) -> SystemDecimal

Remainder

static Remainder(d1: SystemDecimal, d2: SystemDecimal) -> SystemDecimal

Round

static Round(d: SystemDecimal, decimals: int, mode: SystemMidpointRounding) -> SystemDecimal
static Round(d: SystemDecimal, decimals: int) -> SystemDecimal
static Round(d: SystemDecimal, mode: SystemMidpointRounding) -> SystemDecimal
static Round(d: SystemDecimal) -> SystemDecimal

Subtract

static Subtract(d1: SystemDecimal, d2: SystemDecimal) -> SystemDecimal

ToByte

static ToByte(value: SystemDecimal) -> SystemByte

ToDouble

static ToDouble(d: SystemDecimal) -> double

ToInt16

static ToInt16(value: SystemDecimal) -> SystemInt16

ToInt32

static ToInt32(d: SystemDecimal) -> int

ToInt64

static ToInt64(d: SystemDecimal) -> SystemInt64

ToOACurrency

static ToOACurrency(value: SystemDecimal) -> SystemInt64

ToSByte

static ToSByte(value: SystemDecimal) -> SystemSByte

ToSingle

static ToSingle(d: SystemDecimal) -> float

ToString

ToString(provider: SystemIFormatProvider) -> string
ToString() -> string
ToString(format: string, provider: SystemIFormatProvider) -> string
ToString(format: string) -> string

ToUInt16

static ToUInt16(value: SystemDecimal) -> SystemUInt16

ToUInt32

static ToUInt32(d: SystemDecimal) -> uint

ToUInt64

static ToUInt64(d: SystemDecimal) -> SystemUInt64

Truncate

static Truncate(d: SystemDecimal) -> SystemDecimal

TryParse

static TryParse(s: string, result: SystemDecimal) -> bool
static TryParse(s: string, style: SystemGlobalizationNumberStyles, provider: SystemIFormatProvider, result: SystemDecimal) -> bool