avoid uncertain result during division of BigDecimal
Merge pull request #476 from dlatnikov/JFG_668_Division_by_zero_when_tps_below_1

avoid uncertain result during division of BigDecimal