search

Home  >  Q&A  >  body text

Teacher, why are my int values ​​different?

Why does my display show that the maximum value of int is 9223372036854775807,

If it is one larger, it becomes float

青草艺术培训中心青草艺术培训中心1653 days ago1045

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2020-07-17 19:43:01

    A maximum integer constant in php, you can print it out to see what it is. This value is related to the hardware

    reply
    0
  • 青草艺术培训中心

    Thank you, teacher

    青草艺术培训中心 · 2020-07-17 19:58:17
  • Cancelreply