handling rounding to 6 decimal positions
rounding up to 7 decimal places
adding final test for Ratio