Skip to content

[Feature request] NumericUpDown support Int64 Value #1776

@CodingOctocat

Description

@CodingOctocat

Feature request type

enhancement

Is your feature request related to a problem? Please describe

It is recommended that the NumericUpDown control introduce dependency properties for corresponding values such as Int64 and Decimal to prevent precision issues.

long a = 9_007_199_254_740_993;
double d = a;

Console.WriteLine(d);                 // 9007199254740992
Console.WriteLine((long)d == a);      // false

Describe the solution you'd like

<hc:NumericUpDown Int64Value="{Binding}" DecimalValue="{Binding}" />

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions