레퍼런스 floor()

floor()

어떤 숫자에 가장 가까우면서 그 숫자보다 작거나 같은 정수 값을 계산합니다.

예제

구문

floor(n)

매개변수

n
Number:

내림할 숫자

Returns

Integer: 내림된 숫자
This page is generated from the comments in src/math/calculation.js . Please feel free to edit it and submit a pull request!

관련 레퍼런스