Edit

Share via


NSDecimal Struct

Definition

Represents an immutable value that can range from mantissa*10^exponent where mantissa is a decimal integer of up to 38 digits length, and the exponent is an integer that can range from -128 through 127.

public struct NSDecimal : IEquatable<Foundation.NSDecimal>
type NSDecimal = struct
Inheritance
NSDecimal
Implements

Fields

fields
m1
m2
m3
m4
m5
m6
m7
m8

Methods

Add(NSDecimal, NSDecimal, NSDecimal, NSRoundingMode)
Compare(NSDecimal, NSDecimal)
Divide(NSDecimal, NSDecimal, NSDecimal, NSRoundingMode)
Equals(NSDecimal)
Equals(Object)
GetHashCode()
Multiply(NSDecimal, NSDecimal, NSDecimal, NSRoundingMode)
MultiplyByPowerOf10(NSDecimal, NSDecimal, Int16, NSRoundingMode)
Normalize(NSDecimal, NSDecimal)
Power(NSDecimal, NSDecimal, nint, NSRoundingMode)
Round(NSDecimal, NSDecimal, nint, NSRoundingMode)
Subtract(NSDecimal, NSDecimal, NSDecimal, NSRoundingMode)
ToString()

Operators

Addition(NSDecimal, NSDecimal)
Division(NSDecimal, NSDecimal)
Equality(NSDecimal, NSDecimal)
Explicit(NSDecimal to Decimal)
Explicit(NSDecimal to Double)
Explicit(NSDecimal to Int32)
Explicit(NSDecimal to Single)
Implicit(Decimal to NSDecimal)
Implicit(Double to NSDecimal)
Implicit(Int32 to NSDecimal)
Implicit(Single to NSDecimal)
Inequality(NSDecimal, NSDecimal)
Multiply(NSDecimal, NSDecimal)
Subtraction(NSDecimal, NSDecimal)

Applies to