An open API service indexing awesome lists of open source software.

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.

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)