Correctly round bytes when converted from human readable format

Instead of leave two decimal places which is confusing, round the byte
values correctly to the closest byte.

Fixes #7757 

Please review @icewind1991 @schiesbn @karlitschek @bantu