• 회원가입
  • 로그인
  • 구글아이디로 로그인

[Math_F] LESS - floor() 함수 - 숫자를 최근접 하위 정수로 반올림 (= floor함수)

767  

floor() 함수

[정의]

 

최근접 하위 정수로 반올림.

 


[구문]

 

floor(number)

 


[매개변수]

 

number

필수. 반올림 할 숫자.

 


[반환값]

 

최근접 하위 정수

 


[예제]

 

floor(2.6); // 2

 

 


분류 제목
basic LESS - Home (입문)
basic LESS - Intro (소개)
basic LESS - Installation (설치)
basic LESS - Variables (변수)
basic LESS - Parent Selectors (부모 선택자)
basic LESS - Mixins (믹스인)
basic LESS - Nesting (중첩 = 안긴 형태)
basic LESS - Operations (연산)
basic LESS - Escaping (회피 = 이스케이핑)・Function (함수)
basic LESS - Namespaces (네임스페이스)・Accessors (접근자)
basic LESS - Maps (맵)
basic LESS - Scope (유효 범위)
basic LESS - Comments (주석)
basic LESS - @import (가져오기)
basic LESS - @plugin (플러그인 가져오기)
basic LESS - Extend (상속 = 확장)
basic LESS - Merge (병합 = 결합)
basic LESS - CSS Guards
basic LESS - Detached Rulesets
1/6
목록
찾아주셔서 감사합니다. Since 2012