Sha256: 3a7bc3d9af8fefc2d9065f6f99b53deda81bedd9931aa4e7389983e7455518ae
Contents?: true
Size: 838 Bytes
Versions: 3
Compression:
Stored size: 838 Bytes
Contents
# SalesKing Calculation [](https://travis-ci.org/salesking/sk_calc) Why? 1. We have had enough of "How do you calculate?"-Questions 2. Ever stumbled upon rounding problems, when calculating totals? 3. Wouldn't it be nice to change a calculation strategy? We decided to open-source this part, so everybody can transparently see how we calculate item and document totals. You can take advantage of this lib for example when using our API and mixing it into your local classes. == Install gem install sk_calc == Usage read spec/sk_calc/*.rb to see examples require 'sk_calc' class LineItem calculates :item end class Invoice calculates :items end == Tests Copyright (c) 2011-2016 Georg Leciejewski, released under the MIT license
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sk_calc-1.0.2 | README.md |
sk_calc-1.0.1 | README.md |
sk_calc-1.0.0 | README.md |