mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-22 20:40:48 +01:00
update README
This commit is contained in:
parent
892f011ab6
commit
410a5d09e7
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
@ -6,14 +6,15 @@ NOTE: can "only" represent numbers with a maximum of 2^31 digits after the decmi
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
* the zero-value is 0, and is safe to use without initialization
|
||||||
* addition, subtraction, multiplication with no loss of precision
|
* addition, subtraction, multiplication with no loss of precision
|
||||||
* division with specified precision
|
* division with specified precision
|
||||||
* database/sql serialization/deserialization
|
* database/sql serialization/deserialization
|
||||||
* json and xml serialization/deserialization
|
* json and xml serialization/deserialization
|
||||||
|
|
||||||
## Notable users
|
## Install
|
||||||
|
|
||||||
This is currently being used in production by [Spring](https://shopspring.com/), and has been since August 14, 2014.
|
Run `go get github.com/jellolabs/decimal`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -54,6 +55,11 @@ func main() {
|
||||||
|
|
||||||
http://godoc.org/github.com/jellolabs/decimal
|
http://godoc.org/github.com/jellolabs/decimal
|
||||||
|
|
||||||
|
## Production Usage
|
||||||
|
|
||||||
|
* [Spring](https://shopspring.com/), since August 14, 2014.
|
||||||
|
* If you are using this in production, please let us know!
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
Loading…
Reference in a new issue