1
I have a code that calculates the number of pages based on the number of data that is called from the database. But with the code it divides the number of data by 5, ie the maximum number allowed, but the value can come decimal and so it can’t calculate the pages well. Is there any way to round the value of for example 3.2
for 4
?
Could be the function
ceil
?– Woss
Related: https://answall.com/q/212227/57801
– Don't Panic
@Everson perfect pointing, I can tell that is dup. (See the Rray was faster than me)
– Guilherme Nascimento
@Andersoncarloswoss Put as an answer and I will give as accepted.
– I_like_trains