Home > Back-end >  A small white o
A small white o

Time:10-18

Why int to use % d

CodePudding user response:

This is the parameters of the API format, why not? Like date conversion, yyyy, MM is the month, so its API interface specifies the format, you can according to the format to use good,

CodePudding user response:

No why, is so of the regulation, of course, you can also use % f, as if to implicit type conversion (try writing code)

CodePudding user response:

reference 1st floor qybao response:
this is the parameters of the API format, why not? Like date conversion, yyyy, MM is the month, so its API interface specifies the format, you can according to the format to use good,

OK?? thank you

CodePudding user response:

refer to the second floor weixin_40290083 response:
there is no why, is so of the regulation, of course, you can also use % f, as if to implicit type conversion (try writing code)

Well know. Thanks
  • Related