Fixed the float round bug, Or the ratio only cound be 0/1