WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Close
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how
Legacy Documentation
The Mathematical Explorer
TM
(2001)
This is documentation for an obsolete product.
Current products and services
Round
Round[
x
]
gives the integer closest to
x
.
Mathematical function (see
Section A.3.10
).
Examples:
Round[2.4]
;
Round[2.6]
;
Round[-2.4]
;
Round[-2.6]
.
Round
rounds numbers of the form
x
.5
toward the nearest even integer.
Round[
x
]
returns an integer when
x
is any numeric quantity, whether or not it is an explicit number.
Example:
Round[Pi^2]
.
For exact numeric quantities,
Round
internally uses numerical approximations to establish its result.
See
The Mathematica Book
on the web:
Section 1.1.3
andÂ
Section 3.2.2
.
See also:
IntegerPart
,
Floor
,
Ceiling
,
Chop
.
Further Examples