mirror of
https://github.com/claunia/plist-cil.git
synced 2026-02-04 05:34:41 +00:00
[PR #33] [MERGED] Fix roundtrip/serialization of real with > 5 digits #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/claunia/plist-cil/pull/33
Author: @qmfrederik
Created: 5/22/2018
Status: ✅ Merged
Merged: 5/22/2018
Merged by: @claunia
Base:
master← Head:fixes/real-roundtrip📝 Commits (3)
15d53adTest parsing and serialization of real numbers with > 5 decimals250377bUse "R" instead of "G17"4cfa99eFix paths📊 Changes
5 files changed (+29 additions, -2 deletions)
View changed files
📝
plist-cil.test/IssueTest.cs(+10 -0)📝
plist-cil.test/NSNumberTests.cs(+7 -0)📝
plist-cil.test/plist-cil.test.csproj(+3 -0)➕
plist-cil.test/test-files/RoundtripReal.plist(+5 -0)📝
plist-cil/NSNumber.cs(+4 -2)📄 Description
Values such as "0.748765" would be truncated to "0.74876", use
.ToString("G17")to keep all digits in the string repesentation.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.