Tuesday, September 25, 2012

decimal percision

This suggests that when defining a decimal that one passes into two numbers, the first for precision (the maximum number of places including decimal places) and the second for scale (the number of decimal places). So decimal(5,2) suggests that up to a three digit number (-999 to 999) and that this number may also have up to two decimal places.

3 + 2 = 5

This is also worth a visit as is this.

No comments:

Post a Comment