objects

package
v0.2.5-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertedScalesToWords

type ConvertedScalesToWords struct {
	Result          string
	UnitNameForm    ScaleForm
	LastScaleIsZero bool
}

type Digit

type Digit int8

type Number

type Number struct {
	Sign       string
	FirstPart  string
	Divider    constants.NumberType
	SecondPart string
}

type NumericDigitTriplet

type NumericDigitTriplet digitTriplet[Digit]

func (NumericDigitTriplet) IsZeros

func (ndt NumericDigitTriplet) IsZeros() bool

func (NumericDigitTriplet) ToRune

type ResultNumberT

type ResultNumberT struct {
	Sign           string
	FirstPart      string
	FirstPartName  string
	SecondPart     string
	SecondPartName string
}

type RuneDigitTriplet

type RuneDigitTriplet digitTriplet[rune]

func (RuneDigitTriplet) IsZeros

func (rdt RuneDigitTriplet) IsZeros() bool

func (RuneDigitTriplet) ToNumeric

func (rdt RuneDigitTriplet) ToNumeric() NumericDigitTriplet

type ScaleForm

type ScaleForm int8

type StringDigitTriplet

type StringDigitTriplet digitTriplet[string]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL