We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43975b7 commit ee71863Copy full SHA for ee71863
Microsoft.Toolkit.Uwp.UI.Animations/Extensions/System/FloatExtensions.cs
@@ -37,7 +37,7 @@ public static string ToCompositionString(this float number)
37
38
// Otherwise, we need to print it with the right number of decimals
39
var decimalPlaces = -exponent // The number of decimal places is the exponent of 10
40
- + eIndex // Plus each number in the mantissa
+ + eIndex // Plus each character in the mantissa
41
+ (number < 0 ?
42
-3 : // Minus the sign, dot and first number of the mantissa if negative
43
-2); // Minus the dot and first number of the mantissa otherwise
0 commit comments