Send feedback on this topic.
Teradata.Client.Provider
Precision Property (TdDecimal)



Teradata.Client.Provider Namespace > TdDecimal Structure : Precision Property
The maximum number of possible digits in this TdDecimal instance.
Syntax
'Declaration
 
Public ReadOnly Property Precision As Byte
'Usage
 
Dim instance As TdDecimal
Dim value As Byte
 
value = instance.Precision
public byte Precision {get;}
public:
property byte Precision {
   byte get();
}

Property Value

A number ranging from 1 through 38.
Remarks
It represents the maximum number of digits. This is very similar to Teradata Database Decimal(n, m) where n represents the maximum number of digits and m is the scale.
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