Skip to content
forked from takuoki/clmconv

A golang package for converting to spreadsheet column alphabet or integer

License

Notifications You must be signed in to change notification settings

sunyuan3/clmconv

 
 

Repository files navigation

clmconv

CircleCI codecov GoDoc MIT License

A golang package for converting to spreadsheet column alphabet or integer.

Usage

i, err := clmconv.Atoi("A") // i = 0
i := clmconv.MustAtoi("A") // i = 0
a := clmconv.Itoa(0) // a = "A"

Example

Alphabet Integer
A 0
B 1
Z 25
AA 26
ZZ 701
ABC 730
ABCDE 494264

References

About

A golang package for converting to spreadsheet column alphabet or integer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%