how to get ratioof numbers?