'Declaration Public Overloads Shared Function Round( _ ByVal input As TdDecimal, _ ByVal position As Integer, _ ByVal mode As MidpointRounding _ ) As TdDecimal
'Usage Dim input As TdDecimal Dim position As Integer Dim mode As MidpointRounding Dim value As TdDecimal value = TdDecimal.Round(input, position, mode)
Parameters
- input
- The TdDecimal that is to be rounded.
- position
- Decimal position where the rounding is to occurr.
- 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