Round of in php

How to round of number uto 2 decimal points.
Ankur Rajput
Asked 11-11-2024
186

Answer (1)
here is code... $amount = 25.1236456; echo round($amount,2); result: 25.12
Deepak Sharma
Asked 22-07-2018
45 Likes
Comments
Write comment

Submit your answer