Allow decimals in fromNumber and convert functions