HandyOrg / HandyOrg/HandyControl
[Feature request] NumericUpDown support Int64 Value
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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