PHP Convert to int
问题 Im not sure what this type of number is '1.3122278540256E+18' but how can i expand it into an integer? Thanks!! 回答1: That's a floating-point number expressed in scientific notation (the "E+18" means "times 10 to the 18th power"). Chances are it's being displayed that way due to its length; you might try using printf to format it as a standard integer. 回答2: It is in IEEE floating point notation. It is a number too large to be calcuated exactly, but move the decimal +18 places to the right to