Skip to content

Commit 5e1d05a

Browse files
authored
Update Math.xml (#7492)
Typing error in Note: availble -> available
1 parent 961b6f7 commit 5e1d05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/Math.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5801,7 +5801,7 @@ The <xref:System.Math.Round%2A> method supports two rounding conventions for han
58015801
Midpoint values are rounded to the nearest even number. For example, both 3.75 and 3.85 round to 3.8, and both -3.75 and -3.85 round to -3.8. This form of rounding is represented by the <xref:System.MidpointRounding.ToEven?displayProperty=nameWithType> enumeration member.
58025802
58035803
> [!NOTE]
5804-
> In .NET Core 3.0 and later versions, three additional rounding strategies are availble through the <xref:System.MidpointRounding> enumeration. These strategies are used in all cases, not just for midpoint values as <xref:System.MidpointRounding.ToEven?displayProperty=nameWithType> and <xref:System.MidpointRounding.AwayFromZero?displayProperty=nameWithType> are.
5804+
> In .NET Core 3.0 and later versions, three additional rounding strategies are available through the <xref:System.MidpointRounding> enumeration. These strategies are used in all cases, not just for midpoint values as <xref:System.MidpointRounding.ToEven?displayProperty=nameWithType> and <xref:System.MidpointRounding.AwayFromZero?displayProperty=nameWithType> are.
58055805
58065806
Rounding away from zero is the most widely known form of rounding, while rounding to nearest even is the standard in financial and statistical operations. It conforms to IEEE Standard 754, section 4. When used in multiple rounding operations, rounding to nearest even reduces the rounding error that is caused by consistently rounding midpoint values in a single direction. In some cases, this rounding error can be significant.
58075807

0 commit comments

Comments
 (0)