diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..eed0e0e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: go + +go: + - 1.1 + - 1.2 + - 1.3 + - tip + +install: + - go build . + +script: + - go test -v diff --git a/README.md b/README.md index d3c47bc..360f65d 100644 --- a/README.md +++ b/README.md @@ -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