KRACOEUS-8202: fixing math & formatting problem
Merge pull request #995 from leoherbie/KRACOEUS-8202

KRACOEUS-8202: fixing math & formatting problem