Share via


SignificantDigitsNumberRounder.RoundInt32(Int32) Method

Definition

Rounds an Int32 number to the specified number of significant digits.

public:
 virtual int RoundInt32(int value) = RoundInt32;
int RoundInt32(int const& value);
public int RoundInt32(int value);
function roundInt32(value)
Public Function RoundInt32 (value As Integer) As Integer

Parameters

value
Int32

int

The Int32 value to be rounded.

Returns

Int32

int

The rounded 32 bit integer.

Implements

M:Windows.Globalization.NumberFormatting.INumberRounder.RoundInt32(System.Int32) M:Windows.Globalization.NumberFormatting.INumberRounder.RoundInt32(int)

Remarks

The rounding strategy is based on the values of SignificantDigits and RoundingAlgorithm.

Applies to