Documentation
¶
Index ¶
Examples ¶
Constants ¶
View Source
const ( MaxL9 = 999_999_999 MinL9 = 0 )
Variables ¶
View Source
var ErrL9InvalidFormat = errors.New("l9: invalid format")
Functions ¶
This section is empty.
Types ¶
type L9 ¶
type L9 struct {
// contains filtered or unexported fields
}
L9 is base10 chars encoding least significant 9 decimals of uint32.
Example ¶
package main
import (
"fmt"
"github.com/ndx-technologies/base10quant"
)
func main() {
var v base10quant.L9
v.UnmarshalText([]byte("123456789"))
fmt.Println(v)
}
Output: 123456789
func L9FromString ¶
func L9FromUint32 ¶
func (L9) MarshalText ¶
func (*L9) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.