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

In the http request, the last digit of the Json type parameter in the body will be automatically rounded up if the decimal place is too long #13325

Open
1 task done
jia9iZhang opened this issue Dec 11, 2024 · 0 comments

Comments

@jia9iZhang
Copy link

jia9iZhang commented Dec 11, 2024

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

In Json, if the decimal is too long, it will be automatically rounded up, for example:"rate": 1432.0531571421431500
F25A9B52-54DC-41AA-906B-C0B964613A46

Steps To Reproduce

  1. Create a post http request
  2. Select Row as the parameter type in the request body and construct the Json parameter:
    {
    "rate": 1432.0531571421431500
    }
  3. Initiate an Http request
  4. Check the console and you will see that the last decimal place in the body has been automatically rounded up. like: "rate":1432.0531571421432

Screenshots or Videos

No response

Operating System

macOS

Postman Version

11.22.1

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

@jia9iZhang jia9iZhang changed the title http请求中,body中Json类型参数使用超长小数位最后一位会自动进位 In the http request, the last digit of the Json type parameter in the body will be automatically rounded up if the decimal place is too long Dec 11, 2024
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

No branches or pull requests

1 participant