We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afc0357 commit 7ad1b06Copy full SHA for 7ad1b06
1 file changed
hypha/apply/funds/blocks.py
@@ -32,7 +32,8 @@ class LocalizedFloatField(forms.FloatField):
32
33
def to_python(self, value):
34
if value not in self.empty_values:
35
- value = str(value).strip()
+ # Remove all spaces.
36
+ value = str(value).strip().replace(" ", "")
37
has_dot = "." in value
38
has_comma = "," in value
39
0 commit comments