We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e503be commit cbbc8f7Copy full SHA for cbbc8f7
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