make float ignore locale on db prepare

fix #2310