why is it (10,2) in particular ?
why in decimal he but a 10,2
1 answers ( 0 marked as helpful)
Tsvetelin Tsonkov
Instructor
Hi Tasneem!
Thanks for reaching out.
DECIMAL(10,2)
means you can have a decimal number with a maximal total precision of 10 digits. Two (2) of them after the decimal point and eight (8) before. It is not so important why this is used. It is important to know how it works. The idea is to have option for bigger salaries.
Hope this helps.
Best,
Tsvetelin