https://github.com/joeycumines/go-round
Package round implements string-based decimal number rounding, parsing, and normalisation, supporting scientific notation and un-mangling of malformed input.
https://github.com/joeycumines/go-round
decimal-places golang rounding string
Last synced: about 1 year ago
JSON representation
Package round implements string-based decimal number rounding, parsing, and normalisation, supporting scientific notation and un-mangling of malformed input.
- Host: GitHub
- URL: https://github.com/joeycumines/go-round
- Owner: joeycumines
- License: apache-2.0
- Created: 2018-07-14T22:19:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-25T23:11:44.000Z (almost 8 years ago)
- Last Synced: 2024-06-20T11:51:56.226Z (almost 2 years ago)
- Topics: decimal-places, golang, rounding, string
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-round
> test coverage: 100%
Package round implements string-based decimal number rounding, parsing, and normalisation,
supporting scientific notation and un-mangling of malformed input.
Given it's string based, and it supports scientific notation, and doesn't place a hard limit on the
exponential, be careful.
Godoc with heaps of examples here: [github.com/joeycumines/go-round](https://godoc.org/github.com/joeycumines/go-round)