Skip to content

Commit 3471c5b

Browse files
balfourcraigmairaw
andauthored
Fixed incorrect data type parameter info (#3749)
* Fixed incorrect data type parameter info Math.ScaleB takes a double and an int, but the docs say it takes two floats. Docs changed to reflect method signature * Apply suggestions from code review Co-Authored-By: Maira Wenzel <[email protected]> Co-authored-by: Maira Wenzel <[email protected]>
1 parent 2f62f48 commit 3471c5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/Math.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5127,8 +5127,8 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
51275127
<Parameter Name="n" Type="System.Int32" Index="1" FrameworkAlternate="netcore-3.0;netcore-3.1" />
51285128
</Parameters>
51295129
<Docs>
5130-
<param name="x">A single-precision floating-point number that specifies the base value.</param>
5131-
<param name="n">A single-precision floating-point number that specifies the power.</param>
5130+
<param name="x">A double-precision floating-point number that specifies the base value.</param>
5131+
<param name="n">A 32-bit integer that specifies the power.</param>
51325132
<summary>Returns x * 2^n computed efficiently.</summary>
51335133
<returns>x * 2^n computed efficiently.</returns>
51345134
<remarks>

0 commit comments

Comments
 (0)