Ratio rounding

Fix for rounding device ratios for proper compare to sources