1. 개발자를 위한 웹 기술
  2. XML: 확장가능한 마크업 언어
  3. XPath
  4. Reference
  5. Functions
  6. round

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

round

round 함수는 인수로 준 수에 가장 가까운 정수를 반환합니다.

구문

round(decimal )

인수

decimal

정수 처리(round)될 10진수.

반환

인수 decimal 보다 작거나 크거나 같은 가장 가까운 정수.

주의

  • -0.5는 음수 0으로 0.4는 양수 0으로 정수 처리됩니다.

정의

XPath 1.0 4.4

Gecko 지원

지원함.

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /