$isnumber » History » Revision 4
Revision 3 (Per Amundsen, 12/02/2021 02:07 AM) → Revision 4/5 (Per Amundsen, 05/09/2022 07:35 PM)
_Added in 4.2_
*$isnumber(text [, cdens])*
Returns [[$true]] if the text is a number, otherwise [[$false]].
_Same as [[$isnum]]._
*Parameters*
c - Enables 's' and 'd', partial TODO
d - Allows decimal numbers.
e - Allows scientific (exponential) notations.
n - Allows regular numbers.
s - Allows leading + and minus signs.
*Example*
<pre>
; Returns $false
//echo -ag $isnumber(abc)
; Returns $true
//echo -ag $isnumber(555)
</pre>