ExKcal.Calc.adjust_amount
You're seeing just the function
adjust_amount
, go back to ExKcal.Calc module for more information.
Link to this function
adjust_amount(value, arg, current_amount \\ nil)
Specs
Super quirky function adjusting amount of product. I bet there are mistakes, corner cases not being covered and calculation issues!