This Function Has Been Available Since:
(AFCommerce v 2.1, Functions v 1.1)
Description
string = afc_is_numeric (value)
This function simply calls the php function, "is_numeric". You should use this function in your cart's scripts incase I decide to add more to this function to do more checks than using that function (thinking about it), and you won't have to change any of your scripts if I do.
Parameters
value (integer) - The value to be checked.
Return Values
Returns the value if it is numeric, zero if it's anything else.
Open Source: NoPaul's Examples There are currently no examples for this function.
|
Back to Functions List
|