Hello i need to know if php there is a variable type that doesn’t show me something like this:
3.9614081257132E+28
Please anyone knows how to make that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try
printf()to print the variable:Or without the decimal digits:
If you need arbitrary precision numbers, try the bcmath and GMP modules.