I am using
CAST (v1 AS decimal(18, 13))
to do the conversion, but that seems to be unable to handle the scientific notation. Does anyone know a way around this?Try converting to float first, like this:
CAST (CAST (v1 AS float(24)) AS decimal(18, 13))
No comments:
Post a Comment