int(11) vs. int(anything else)

前端 未结 7 2080
借酒劲吻你
借酒劲吻你 2020-11-27 15:19

I\'m new to web programming and doing different tutorials that I can find on the net.

I did my research and found out that in int(11), 11 is the maximum display widt

7条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 15:45

    Yes it specifies the display width, and this comes into play only when ZEROFILL is specified. So at that time it can pad the field value with the required number of zeros.

提交回复
热议问题