DECIMAL class base struct

Represents a decimal data type that provides a sign and scale for a number.

To learn more, see learn.microsoft.com/windows/win32/api/wtypes/ns-wtypes-decimal~r1.

Inheritance
Implemented types
Available extensions

Constructors

DECIMAL()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
Anonymous DECIMAL_0_0

Available on DECIMAL, provided by the DECIMAL_0_Extension extension

getter/setter pair
Anonymous DECIMAL_1_0

Available on DECIMAL, provided by the DECIMAL_1_Extension extension

getter/setter pair
Anonymous1 DECIMAL_0
getter/setter pair
Anonymous2 DECIMAL_1
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
Hi32 int
The high 32 bits of the number.
getter/setter pair
Lo32 int

Available on DECIMAL, provided by the DECIMAL_1_0_Extension extension

getter/setter pair
Lo64 int

Available on DECIMAL, provided by the DECIMAL_1_Extension extension

getter/setter pair
Mid32 int

Available on DECIMAL, provided by the DECIMAL_1_0_Extension extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale int

Available on DECIMAL, provided by the DECIMAL_0_0_Extension extension

getter/setter pair
sign int

Available on DECIMAL, provided by the DECIMAL_0_0_Extension extension

getter/setter pair
signscale int

Available on DECIMAL, provided by the DECIMAL_0_Extension extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNative({Allocator allocator = adaptiveCalloc}) Pointer<DECIMAL>
Allocates native memory and copies the contents of this struct into it.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited