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

Use decimals instead of double for tagged floats #174

Merged

Conversation

gabriel-samfira
Copy link
Member

This change switches from double to decimal for yaml scalars with the !!float tag. This change also adds aditional test cases.

This change switches from double to decimal for yaml scalars with the
!!float tag. This change also adds aditional test cases.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira force-pushed the use-decimal-for-tagged-floats branch from 314e112 to e36ec25 Compare December 18, 2024 17:07
Apparently on Windows PowerShell, 0 is not considered "false" but on
PowerShell Core, it is...

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit e0a46b6 into cloudbase:master Dec 18, 2024
7 checks passed
@gabriel-samfira gabriel-samfira deleted the use-decimal-for-tagged-floats branch December 18, 2024 17:31
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.

1 participant