Ratio fromDouble