LineCalculator: decimal digits fix