protected static validateFloat ( float $test, float $min, float $max, string $source, string $argument = "Argument" ) | ||
$test | float | the input to test |
$min | float | the minimum allowable value (inclusive) |
$max | float | the maximum allowable value (inclusive) |
$source | string | the name of the function calling this |
$argument | string | the name of the invalid parameter |