Managing double(x,y) scenarios

Mysql double(x,y) scenarios was throwing an error, so what I'm doing now is to find the "double(" string and change it to numeric(x,y)