Fix wrong database values when float representation is not set to English standard

#6435