I'm using MySql. I need to convert the double 2783571287 result in the decimal '27835712,87'. In my case, I'm using ',' as decimal separator.
I managed to use the cast function, but I can't previously set the two decimal places that make up the end of the value.
Also, I was not able to "cut" the value using the SUBSTRING function as the amount of characters may vary.
Does someone know how I can do it?
Thanks