'Declaration Public Overloads Shared Function Round( _ ByVal input As TdDecimal, _ ByVal mode As MidpointRounding _ ) As TdDecimal
'Usage Dim input As TdDecimal Dim mode As MidpointRounding Dim value As TdDecimal value = TdDecimal.Round(input, mode)
public static TdDecimal Round( TdDecimal input, MidpointRounding mode )
public: static TdDecimal Round( TdDecimal input, MidpointRounding mode )
Parameters
- input
- The TdDecimal that is to be rounded.
- mode
- Indicates how to round the input if it is midway between two numbers.
Return Value
The result of the round operation is returned as a TdDecimal