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).

Tipo
class
Espacio de nombres
System
Ensamblado
System.Core
Acceso
internal, final
Archivo fuente
Format.ant

Herencia

Clases base
Any DecimalDigits

Constructores

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

Métodos

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
#

Campos

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

Miembros heredados (5)

Código fuente

DecimalDigits en Larva HIR, descompilado a partir de su 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