Improved fee calculation logic: moved logic to separate calculation service, which utilizes NumberUtility service for calculus actions.
Additionally, fixed minor bugs for price rounding, variable naming.
P.S. Tests takes up half of written code, sorry. :D
Improved fee calculation logic: moved logic to separate calculation service, which utilizes NumberUtility service for calculus actions. Additionally, fixed minor bugs for price rounding, variable naming.
P.S. Tests takes up half of written code, sorry. :D