Width is the size or scale of the type, such as number of bits or characters. INT : # of bits (64, 32, 16) FLOAT : # of bits (64, 32) DECIMAL : max # of digits after decimal point (must be <= Precision) STRING : max # of characters COLLATEDSTRING: max # of characters
()
| 909 | // |
| 910 | // Width is always 0 for other types. |
| 911 | func (t *T) Width() int32 { |
| 912 | return t.InternalType.Width |
| 913 | } |
| 914 | |
| 915 | // Precision is the accuracy of the data type. |
| 916 | // |
no outgoing calls
no test coverage detected