oracle number tips:
Only want to save integer is number (n), such as number (5) can save 5-bit integer, similar to int, 12345-"12345, 12--12";
I just want to save the decimal number is number (p, + s), such as number (5,2) can save a total of 5 digits, two of which are decimals, similar to double, 123.45-》 123.45, 12.345-》 12.35; 0.0005- -》 0.00;
Store integer and round number (p, -s), such as number (5, -2) can save five digits, the last two digits are 0, can not save decimal (error will be reported), 1234-》 1200, 12356--》 12400
Use numbers if you want to save decimals and integers;
Reference materials: https://www.cnblogs.com/oumyye/p/4448656.html