deal with mysql decimal return type