class · System

DecimalDigits

internal class System.DecimalDigits : System.Any

A number's exact decimal digits: value = 0.d1 d2 … × 10^Point (digits 0..9, no leading zero; Count 0: zero).

Kind
class
Namespace
System
Assembly
System.Core
Access
internal, final
Source file
Format.ant

Inheritance

Base classes
Any DecimalDigits

Constructors

constructor DecimalDigits(digits: u8[], count: i32, point: i32, negative: bool)
#

Methods

method At(i: i32) -> u8
#

Digit i (0 past the ones it has).

method Round(keep: i32) -> void
#

Rounded to its first keep digits; an exact half goes to the even digit (as .NET does).

method Trim() -> void
#

Fields

field Digits: u8[]
#
field Count: i32
#
field Point: i32
#
field Negative: bool
#

Inherited members (5)

Source

DecimalDigits as Larva HIR, decompiled from its Larva HIR.

System.DecimalDigits.hir
// A number's exact decimal digits: value = 0.d1 d2 … × 10^Point (digits 0..9, no leading zero; Count 0: zero).
internal class System.DecimalDigits : System.Any
{
    field Digits: u8[]
    field Count: i32
    field Point: i32
    field Negative: bool
    constructor DecimalDigits(digits: u8[], count: i32, point: i32, negative: bool)
    // Digit `i` (0 past the ones it has).
    method At(i: i32) -> u8
    // Rounded to its first `keep` digits; an exact half goes to the even digit (as .NET does).
    method Round(keep: i32) -> void
    method Trim() -> void
}
Esc