improve message when calling .to_d on an instance of Float