We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
float x = 2.88; int a = floor(x); // Atribui 2 à "a"
Calcula o valor inteiro mais próximo ao valor do parâmetro valor, menor ou igual a este.
valor
floor(valor)
Parâmetros valor float
int
Web & Applicações
ceil()
round()