InexactNumberQ
InexactNumberQ(expr)
returns
True
ifexpr
is not an exact number, andFalse
otherwise.
Examples
>> InexactNumberQ(a)False
>> InexactNumberQ(3.0)True
>> InexactNumberQ(2/3)False
InexactNumberQ
can be applied to complex numbers:
>> InexactNumberQ(4.0+I)True