make float ignore locale on output

fix #2310
Merge pull request #2315 from thiagof/patch-1

make float ignore locale on db prepare