Turn fraction into float.