update README

This commit is contained in:
Vadim Graboys 2015-02-10 16:49:10 -05:00
parent 778765bb9d
commit 16f1ec9225
2 changed files with 25 additions and 1 deletions

13
.travis.yml Normal file
View file

@ -0,0 +1,13 @@
language: go
go:
- 1.1
- 1.2
- 1.3
- tip
install:
- go build .
script:
- go test -v

View file

@ -1,9 +1,20 @@
# decimal
# decimal [![Build Status](https://travis-ci.org/jellolabs/decimal.png?branch=master)](https://travis-ci.org/jellolabs/decimal)
Arbitrary-precision fixed-point decimal numbers in go.
NOTE: can "only" represent numbers with a maximum of 2^31 digits after the decmial point.
## Features
* addition, subtraction, multiplication with no loss of precision
* division with specified precision
* database/sql serialization/deserialization
* json and xml serialization/deserialization
## Notable users
This is currently being used in production by [Spring](https://shopspring.com/), and has been since August 14, 2014.
## Usage
```go