Decimal

ValueTypecs.system.Decimal (extern final class)

Static Members

Zero: Decimal


MinusOne: Decimal

MaxValue: Decimal

MinValue: Decimal

FromOACurrency(cy: haxe.Int64): Decimal
Name Type
cy haxe.Int64
Returns
Decimal

Name Type
d Decimal
Returns
cs.NativeArray<Int>

Negate(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

Add(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

Subtract(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

Floor(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

Truncate(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

Round(d: Decimal, decimals: Int): Decimal
Name Type
d Decimal
decimals Int
Returns
Decimal

Multiply(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

Divide(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

Remainder(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

Compare(d1: Decimal, d2: Decimal): Int
Name Type
d1 Decimal
d2 Decimal
Returns
Int

Ceiling(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

Parse(s: String): Decimal
Name Type
s String
Returns
Decimal

TryParse(s: String, result: cs.Out): Bool
Name Type
s String
result cs.Out
Returns
Bool

ToOACurrency(value: Decimal): haxe.Int64
Name Type
value Decimal
Returns
haxe.Int64

op_Addition(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

op_Decrement(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

op_Increment(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

op_Subtraction(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

op_UnaryNegation(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

op_UnaryPlus(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

op_Multiply(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

op_Division(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

op_Modulus(d1: Decimal, d2: Decimal): Decimal
Name Type
d1 Decimal
d2 Decimal
Returns
Decimal

op_Implicit(value: cs.types.UInt8): Decimal
Name Type
value cs.types.UInt8
Returns
Decimal

op_Explicit(value: Single): Decimal
Name Type
value Single
Returns
Decimal

op_Inequality(d1: Decimal, d2: Decimal): Bool
Name Type
d1 Decimal
d2 Decimal
Returns
Bool

op_Equality(d1: Decimal, d2: Decimal): Bool
Name Type
d1 Decimal
d2 Decimal
Returns
Bool

op_GreaterThan(d1: Decimal, d2: Decimal): Bool
Name Type
d1 Decimal
d2 Decimal
Returns
Bool

op_GreaterThanOrEqual(d1: Decimal, d2: Decimal): Bool
Name Type
d1 Decimal
d2 Decimal
Returns
Bool

op_LessThan(d1: Decimal, d2: Decimal): Bool
Name Type
d1 Decimal
d2 Decimal
Returns
Bool

op_LessThanOrEqual(d1: Decimal, d2: Decimal): Bool
Name Type
d1 Decimal
d2 Decimal
Returns
Bool

Instance Members

CompareTo(value: Dynamic): Int
Name Type
value Dynamic
Returns
Int

GetTypeCode(): Anonymous
Returns
Anonymous

ToString(format: String, provider: IFormatProvider): String
Name Type
format String
provider IFormatProvider
Returns
String

new(lo: Int, mid: Int, hi: Int, isNegative: Bool, scale: cs.types.UInt8): Void
Name Type
lo Int
mid Int
hi Int
isNegative Bool
scale cs.types.UInt8

Metadata

Name Parameters
:nativeGen -
:struct -
:libType -
:csNative -