XPath2Functions.RoundHalfToEven Method (decimal, decimal)XPath2Functions.RoundHalfToEven Method (Decimal, Decimal)XPath2Functions::RoundHalfToEven Method (decimal, decimal)

Implementation of the fn:round-half-to-even function.

Syntax

Public Shared Function RoundHalfToEven( _
    argument As Decimal, _
    precision As Decimal _
) As Decimal
public static decimal RoundHalfToEven(
    decimal argument,
    decimal precision
)
public:
static decimal RoundHalfToEven(
    decimal argument, 
    decimal precision
)
 

Parameters

argument

Type: System.DecimalSystem.DecimalSystem::Decimal

The argument.

precision

Type: System.DecimalSystem.DecimalSystem::Decimal

The precision.

Return Value

Type: System.DecimalSystem.DecimalSystem::Decimal

The value of the function.