W3cubDocs

/Haxe C#

Decimal

package cs.system

extends ValueType

implements IComparable_1<Decimal>, IEquatable_1<Decimal>, IComparable, IConvertible, IFormattable

Available on cs

Constructor

new (lo:Int, mid:Int, hi:Int, isNegative:Bool, scale:UInt8)

new (bits:NativeArray<Int>)

new (value:Float)

new (value:Single)

new (value:UInt64)

new (value:Int64)

new (value:UInt)

new (value:Int)

Methods

CompareTo (value:Dynamic):Int

CompareTo (value:Decimal):Int

GetTypeCode ():TypeCode

Static variables

static read only MaxValue:Decimal

static read only MinValue:Decimal

static read only MinusOne:Decimal

static read only One:Decimal

static read only Zero:Decimal

Static methods

static Add (d1:Decimal, d2:Decimal):Decimal

static Ceiling (d:Decimal):Decimal

static Compare (d1:Decimal, d2:Decimal):Int

static Divide (d1:Decimal, d2:Decimal):Decimal

static Floor (d:Decimal):Decimal

static FromOACurrency (cy:Int64):Decimal

static GetBits (d:Decimal):NativeArray<Int>

static Multiply (d1:Decimal, d2:Decimal):Decimal

static Negate (d:Decimal):Decimal

static Parse (s:String):Decimal

static Parse (s:String, style:NumberStyles, provider:IFormatProvider):Decimal

static Parse (s:String, provider:IFormatProvider):Decimal

static Parse (s:String, style:NumberStyles):Decimal

static Remainder (d1:Decimal, d2:Decimal):Decimal

static Round (d:Decimal, decimals:Int):Decimal

static Round (d:Decimal, mode:MidpointRounding):Decimal

static Round (d:Decimal):Decimal

static Round (d:Decimal, decimals:Int, mode:MidpointRounding):Decimal

static Subtract (d1:Decimal, d2:Decimal):Decimal

static ToByte (value:Decimal):UInt8

static ToDouble (d:Decimal):Float

static ToInt16 (value:Decimal):Int16

static ToInt32 (d:Decimal):Int

static ToInt64 (d:Decimal):Int64

static ToOACurrency (value:Decimal):Int64

static ToSByte (value:Decimal):Int8

static ToSingle (d:Decimal):Single

static ToUInt16 (value:Decimal):UInt16

static ToUInt32 (d:Decimal):UInt

static ToUInt64 (d:Decimal):UInt64

static Truncate (d:Decimal):Decimal

static TryParse (s:String, result:Out<Decimal>):Bool

static TryParse (s:String, style:NumberStyles, provider:IFormatProvider, result:Out<Decimal>):Bool

static _Equals (d1:Decimal, d2:Decimal):Bool

static op_Addition (d1:Decimal, d2:Decimal):Decimal

static op_Decrement (d:Decimal):Decimal

static op_Division (d1:Decimal, d2:Decimal):Decimal

static op_Equality (d1:Decimal, d2:Decimal):Bool

static op_Explicit (value:Single):Decimal

static op_Explicit (value:Decimal):Float

static op_Explicit (value:Float):Decimal

static op_GreaterThan (d1:Decimal, d2:Decimal):Bool

static op_GreaterThanOrEqual (d1:Decimal, d2:Decimal):Bool

static op_Implicit (value:UInt8):Decimal

static op_Implicit (value:UInt64):Decimal

static op_Implicit (value:Int64):Decimal

static op_Implicit (value:UInt):Decimal

static op_Implicit (value:Int):Decimal

static op_Implicit (value:Char16):Decimal

static op_Implicit (value:UInt16):Decimal

static op_Implicit (value:Int16):Decimal

static op_Implicit (value:Int8):Decimal

static op_Increment (d:Decimal):Decimal

static op_Inequality (d1:Decimal, d2:Decimal):Bool

static op_LessThan (d1:Decimal, d2:Decimal):Bool

static op_LessThanOrEqual (d1:Decimal, d2:Decimal):Bool

static op_Modulus (d1:Decimal, d2:Decimal):Decimal

static op_Multiply (d1:Decimal, d2:Decimal):Decimal

static op_Subtraction (d1:Decimal, d2:Decimal):Decimal

static op_UnaryNegation (d:Decimal):Decimal

static op_UnaryPlus (d:Decimal):Decimal

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cs/system/Decimal.html