Send feedback on this topic.
Teradata.Client.Provider
Round Method



Teradata.Client.Provider Namespace > TdDecimal Structure : Round Method
Rounds the value of a TdDecimal to a specified decimal position or to the nearest integer.
Overload List
OverloadDescription
The number nearest the specified TdDecimal’s value and position is calculated.  
The integer nearest the TdDecimal’s value is calculated.  
This method calculates the integer nearest the specified input. A parameter is used to specify how the number is rounded if the result is between two numbers.  
The number nearest the specified TdDecimal’s value and position is calculated. The mode is used to determine how the reslt will be rounded if it is midway between two other numbers.  
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdDecimal Structure
TdDecimal Members