ExactNumberQ

ExactNumberQ[expr]

returns True if expr is an exact real or complex number, and returns False otherwise.

Details

Examples

open allclose all

Basic Examples  (1)

ExactNumberQ tests whether an object is explicitly an exact number:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Scope  (2)

Properties & Relations  (4)

See Also

InexactNumberQ  NumberQ  IntegerQ

Introduced in 1999
(4.0)