Do rounding near to zero
Example: -8.8, answer -8
+8.1 answer 8
The solution which I presented just now works perfectly fine on the live editor of Matlab, but don't know why math works still say it is incorrect?
use fix instead of floor or ceil command
1313 Solvers
14998 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1064 Solvers
198 Solvers
Rounding off numbers to n decimals
282 Solvers