Skip to content

a-input-number When 2 decimal places are reserved, the input 555.555 is not rounded, and the result is 555.55 #5837

@SilentLand

Description

@SilentLand
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.7

Environment

window,"Google Chrome";v="103","vue": "^2.6.11"

Reproduction link

Edit on CodeSandbox

Steps to reproduce

a-input-number 数字输入框精度为2,输入555.555,结果为555.55

What is expected?

a-input-number 数字输入框精度为2,输入555.555,结果为555.56

What is actually happening?

a-input-number 数字输入框精度为2,输入555.555,结果为555.55

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions