In some cases precision is required and a Double couldn’t be enough.
For these cases, I add a feature to check if the conversion to Double can guarantee the precision, if not the Decimal type is used.