dotnet / dotnet/wpf

Why Set the default value for dependent property "Top" of Window will Auto-rounding

Open
#4,829 1 comment 0 reactions 0 assignees View on GitHub
Question
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

Problem description: Oh , it's not a bug, but I can't find the better category to define.
Actual behavior: when I am set value 38.8 for dependent property "Top" of Window in WPF application.But when I am get value,
the actual value is 39.the data type of top is double,when the value been auto-rounding
Is Framework handle it?I need know it to pass my unit test in my project .Thx.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.