PHP - Output and String Handling
Which of the following is the correct syntax to print a floating-point number with 2 decimal places using
printf in PHP?printf in PHP?%.2f where .2 specifies 2 decimal places.%.2f correctly; others have misplaced or incorrect syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions