php does not have integer division
For example: 2/5=0.4 instead of 2/5=0
Although the bottom layer of php is implemented in C language, you really need to pay attention to this pitfall, especially when calculating some details, remember it!
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });The above has introduced that PHP does not have integer division, including PHP and division content. I hope it will be helpful to friends who are interested in PHP tutorials.