We have had enough of “How do you calculate?”-Questions
Ever stumbled upon rounding problems, when calculating totals?
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.
gem install sk_calc
read spec/sk_calc/*.rb to see examples
Copyright © 2011 Georg Leciejewski, released under the MIT license