Why not return the exact percentage?  There's no guarantee that the resulting value will be exactly equal to x.yz anyway, given the vagaries of floating point maths.