InexactNumberQ

InexactNumberQ[expr]

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

Details

Examples

open allclose all

Basic Examples  (1)

InexactNumberQ tests whether an object is explicitly an inexact 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

ExactNumberQ  MachineNumberQ  Precision

Introduced in 1999
(4.0)