• Skip to main content
  • Skip to search
  • Skip to select language

Learn front-end development with high quality, interactive courses from Scrimba. Enroll now!

MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  1. 개발자를 위한 웹 기술
  2. XML: 확장가능한 마크업 언어
  3. XPath
  4. Reference
  5. Functions
  6. round
    • Is this useful?
    • English (US)
    • Deutsch
    • Français
    • 日本語

이 페이지는 영어로부터 커뮤니티에 의하여 번역되었습니다. MDN Web Docs에서 한국 커뮤니티에 가입하여 자세히 알아보세요.

  1. XSLT
    1. Elements
      1. apply-imports
      2. apply-templates
      3. attribute-set
      4. attribute
      5. call-template
      6. choose
      7. comment
      8. copy-of
      9. copy
      10. decimal-format
      11. element
      12. fallback
      13. for-each
      14. if
      15. import
      16. include
      17. key
      18. message
      19. namespace-alias
      20. number
      21. otherwise
      22. output
      23. param
      24. preserve-space
      25. processing-instruction
      26. sort
      27. strip-space
      28. stylesheet
      29. template
      30. text
      31. transform
      32. value-of
      33. variable
      34. when
      35. with-param
    2. EXSLT
      1. Reference
    3. Functions
      1. boolean
      2. ceiling
      3. choose
      4. concat
      5. contains
      6. count
      7. current
      8. document
      9. element-available
      10. false
      11. floor
      12. format-number
      13. function-available
      14. generate-id
      15. id
      16. key
      17. lang
      18. last
      19. local-name
      20. name
      21. namespace-uri
      22. normalize-space
      23. not
      24. number
      25. position
      26. round
      27. starts-with
      28. string
      29. string-length
      30. substring
      31. substring-after
      32. substring-before
      33. sum
      34. system-property
      35. translate
      36. true
      37. unparsed-entity-url
    4. Axes

    round

    XSLT/XPath 참고 문서: XSLT 요소, XPath 함수, XPath 축

    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 2025년 5월 7일 by MDN contributors.

    View this page on GitHub • Report a problem with this content
    MDN logo

    Your blueprint for a better internet.

    • MDN on Bluesky
    • MDN on Mastodon
    • MDN on X (formerly Twitter)
    • MDN on GitHub
    • MDN Blog RSS Feed

    MDN

    • About
    • Blog
    • Careers
    • Advertise with us

    Support

    • Product help
    • Report an issue

    Our communities

    • MDN Community
    • MDN Forum
    • MDN Chat

    Developers

    • Web Technologies
    • Learn Web Development
    • MDN Plus
    • Hacks Blog
    • Website Privacy Notice
    • Cookies
    • Legal
    • Community Participation Guidelines

    Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
    Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.