About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
Simple yet useful IsDigit(Char) function
Author Message
Eric Offline
Member

Post: #1
Simple yet useful IsDigit(Char) function
It'd be nice to have such a function already implemented in EE.
Code:
Bool IsDigit(Char  c) { if( c >= '0' && c <= '9' ) return true; return false; }
Bool IsDigit(Char8 c) { if( c >= '0' && c <= '9' ) return true; return false; }
P.S. IsAlpha and IsAlNum are also welcome I guess smile

Regards,
Eric 'Eri' Przychocki
ourgames.eu
(This post was last modified: 02-25-2014 11:39 AM by Eric.)
02-25-2014 11:36 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Simple yet useful IsDigit(Char) function
there's CharFlag and CharType
02-25-2014 09:24 PM
Find all posts by this user Quote this message in a reply
Post Reply