fix issue with sanitize_float() and sanitize_double() removing decimal points