newbase60: willnorris.com/go/newbase60 Index | Files

package newbase60

import "willnorris.com/go/newbase60"

Package newbase60 implements NewBase60 encoding and decoding as specified by http://ttk.me/w/NewBase60.

Index

Package Files

newbase60.go

func DecodeToInt Uses

func DecodeToInt(s string) int

DecodeToInt decodes the sexagesimal number s to an int.

func EncodeInt Uses

func EncodeInt(n int) string

EncodeInt encodes the positive integer n to a sexagesimal string.

Updated 2018-10-09. Refresh now. Tools for package owners.