Share via


INumberRounder.RoundDouble(Double) Method

Definition

Rounds a Double number.

public:
 double RoundDouble(double value);
double RoundDouble(double const& value);
public double RoundDouble(double value);
function roundDouble(value)
Public Function RoundDouble (value As Double) As Double

Parameters

value
Double

double

The Double value to be rounded.

Returns

Double

double

The rounded number. This result is a double precision floating point number, which is not necessarily an integer.

Remarks

Note

This method is precise only within the limits of the Double data type: approximately 15 digits.

Applies to