HandyOrg / HandyOrg/HandyControl

[Feature request] NumericUpDown support Int64 Value

Open
#1,776 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
7.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the NumericUpDown control and review its existing Value dependency property and binding behavior. Define what is needed for Int64Value and DecimalValue, then verify that XAML bindings preserve values beyond double precision; the issue provides no test or file location, so repository exploration is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.