private static function cf_error::p_invalid_float in Common Functionality 7.2
Reports if a variable is not a float, double, or real.
Parameters
cf_error_code $error: The error code class object associated with the error.
string $argument_name: The variable name of the argument in question.
1 call to cf_error::p_invalid_float()
- cf_error::invalid_float in modules/
cf_error/ classes/ cf_error.php - Reports if a variable is not a float, double, or real.
File
- modules/
cf_error/ classes/ cf_error.php, line 1384 - Provides the derror exception class.
Class
Code
private static function p_invalid_float(cf_error_code $error, $argument_name) {
p_invalid_variable($error, $argument_name, "Not a valid float, double, or real.", array());
}