I assume when you mention decimal you mean a real number...
a.) Check whether Text conains a decimal seperator character
b.) In case there is a decimal separator: check whether at least one digit after (right of) decimal separator is not '0'
c.) In case there is a Digit != '0' after decimal separator it Looks like a decimal number, right? In case not it is an
Natural number - Wikipedia[
^]
Definition of Decimal[
^]