Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

GetBits

Declaring type: Decimal
Module: System
Assembly: System.Runtime.dll
Source file: Decimal.rvn

Overloads / Variants

GetBits

static func GetBits(value: decimal, destination: Slice<int>) -> int

Source file: Decimal.rvn

Writes four representation words without allocation; a shorter destination faults.

Parameters

Name Type Description
value Decimal
destination Slice<Int32>

Return value

Int32

GetBits

static func GetBits(value: decimal) -> int[]

Source file: Decimal.rvn

Returns independent low, middle, high and flags words, matching Decimal.GetBits ordering.

Parameters

Name Type Description
value Decimal

Return value

Int32[]