0
I am converting a number from varchar to decimal. This number already has the boxes after the comma, and when I convert it adds 2 more zeros.
Example: 12.345,67 ---> 1234567,00
The code I’m using is this: CAST(REPLACE( REPLACE(ZMI058.Amount, ',', '), '.', ') AS decimal(18,2)) AS Amount
How do I play the numbers I already have to the decimal places?
It worked perfectly! Thank you!
– W.S. Silva