floor/ceil or first bigger/smaller number code example
Example: floor/ceil or first bigger/smaller number
Examples of Floor:
Input : 2.5
Output : 2
Input : -2.1
Output : -3
Input : 2.9
Output : 2
Examples of Floor:
Input : 2.5
Output : 2
Input : -2.1
Output : -3
Input : 2.9
Output : 2