Commit graph

72 commits

Author SHA1 Message Date
Florent AIDE
28bb8ff9f5 use directly the int64 instead of casting to float 2015-12-03 11:06:49 +01:00
Florent AIDE
9e9cba8a85 Better implementatin with switch and support for 0 2015-11-23 18:45:31 +01:00
Florent AIDE
c4b5af094a Added support for Numeric type in db storage 2015-11-23 16:43:59 +01:00
Roland Averkamp
696232de64 only formattimg, really! 2015-09-03 20:10:10 +02:00
Roland Averkamp
8b186db779 replaced original Div, added initialization check and and check for 0 in divide 2015-09-03 17:24:49 +02:00
Roland Averkamp
87964935d0 better method comments
use the godoc format for the method comments
2015-09-03 16:31:44 +02:00
Roland Averkamp
e4641fd8ba added divsion with rest and rounded division
Added a division based on integer division with rest.
A simple rounded division aded.
2015-09-01 14:50:25 +02:00
Vadim Graboys
9995dc92ee fix some small issues with scientific notation, add more tests 2015-07-31 16:22:14 -04:00
Thiago Arruda
632e313f4a Fix possible int64 overflow and remove unnecessary code 2015-07-31 13:36:54 -03:00
Thiago Arruda
3e7f1c747e Change exp to int64 to prevent overflow 2015-07-28 08:08:24 -03:00
Thiago Arruda
849f553b9d Add scientific notation parsing 2015-07-24 13:25:40 -03:00
Vadim Graboys
6da60a24bd update docs to make more clear 2015-07-24 07:40:22 -04:00
Vadim Graboys
96d9a5e02e add Min and Max functions 2015-07-24 07:17:36 -04:00
Vadim Graboys
6e97405099 add stupid test for extreme values, fix some super-edge-case bugs 2015-06-14 15:39:05 -04:00
Vadim Graboys
54dc68463b ensure decimal is initialized for new methods 2015-06-14 14:09:13 -04:00
Vadim Graboys
5359bc7cb4 add docs for Floor and Ceil 2015-06-14 13:10:35 -04:00
Vadim Graboys
0c74aee0c1 add Round, Floor, Ceil, and StringFixed. Deprecate StringScaled 2015-06-14 11:56:33 -04:00
Casey Marshall
d589a882a7 Simplify Equals and Cmp godoc comments. 2015-03-23 16:41:30 -05:00
Casey Marshall
605289b720 Updated godoc comments.
http://blog.golang.org/godoc-documenting-go-code
2015-03-23 11:09:19 -05:00
Vadim Graboys
892f011ab6 fix doc for Sub 2015-02-12 12:10:49 -05:00
Vadim Graboys
778765bb9d better documentation for godoc 2015-02-10 16:19:14 -05:00
Vadim Graboys
3bac4bd166 init 2015-02-10 15:33:58 -05:00