Skip to content

cbring/numerals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Numerals

A library for working with and converting different numeral systems in Unicode.

Supported numerals:

CLI

A CLI is available to format and parse numbers.

Formatting a number using a numeral system:

$ go run github.com/gnirb/numerals/cmd@latest -system=roman 2023
MMXXIII

$ go run github.com/gnirb/numerals/cmd@latest -system=egyptian 2023
𓆼𓆼𓎆𓎆𓏤𓏤𓏤

Parsing a number using a numeral system:

$ go run github.com/gnirb/numerals/cmd@latest -system=roman -parse MMXXIII
2023

$ go run github.com/gnirb/numerals/cmd@latest -system=egyptian -parse 𓆼𓆼𓎆𓎆𓏤𓏤𓏤
2023

About

A library for working with numerals in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages