Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added cast number value to float if value is string #830

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

ptelevich
Copy link
Contributor

Screenshot 2024-03-20 at 16 33 48 Screenshot 2024-03-20 at 16 35 53

@ptelevich
Copy link
Contributor Author

ptelevich commented Mar 20, 2024

Eventually the fix cast all strings with type number (integer, float/double) to float, whether this is int or float. So if user type int - the result will be int, if float - will be float. I suppose it's better than get string on backend side

@shalvah
Copy link
Contributor

shalvah commented Mar 26, 2024

Great, thank you!

@shalvah shalvah merged commit 84e49b5 into knuckleswtf:master Mar 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants