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 charac
()
| 1130 | // |
| 1131 | // Width is always 0 for other types. |
| 1132 | func (t *T) Width() int32 { |
| 1133 | return t.InternalType.Width |
| 1134 | } |
| 1135 | |
| 1136 | // Precision is the accuracy of the data type. |
| 1137 | // |
no outgoing calls
no test coverage detected