SproutCMS

This is the code documentation for the SproutCMS project

function numeric()

Checks that a value is numeric (integral or decimal)

Usage

void Validity::numeric ( string $val );

Example

$valid->check('cost', 'Validity::numeric')

Arguments

  1. string $val

Exceptions thrown

Return value

  • void