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

Decimal values compared with Integer fails #143

Open
networkinss opened this issue Nov 21, 2021 · 2 comments
Open

Decimal values compared with Integer fails #143

networkinss opened this issue Nov 21, 2021 · 2 comments
Labels

Comments

@networkinss
Copy link

If the API gives a decimal value and the comparison value is an integer, the comparison fails although it is the same value.

Example: 123.0 compared to 123 fails.

This is mainly a problem because Postman "prettifies" values by cutting a ".0".

Best would be if that behavior can be configured by parameter.

@elans3
Copy link
Member

elans3 commented Nov 26, 2021

Share example that will reproduce the issue. if this is POSTMAN issue and needs to addressed in postman.

@elans3 elans3 added the low label Jan 31, 2022
@networkinss
Copy link
Author

Bug is caused by Postman, they change 12.50 to 12.5.
But it has to be solved by Idaithalam.
Since it compares two values which are same but complains it would be different.
12.5 is same as 12.50, and Idaithalam is supposed to know that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants