You are here

function spam_number_load in Spam 6

Spam module is_numeric test wildcard loader function.

File

./spam.module, line 597
Spam module, v3 Copyright(c) 2006-2008 Jeremy Andrews <jeremy@tag1consulting.com>. All rights reserved.

Code

function spam_number_load($num) {
  return is_numeric($num) ? $num : FALSE;
}