answersLogoWhite

0

The is_numeric functions works just fine. It returns trueor false based on whether the input variable is numeric or not. However, it is possible that unexpected results may occur when evaluating something like "34e6", which is a valid number (34,000,000). If you must know if a variable contains only digits 0-9, consider preg_match("/^\d+$/", $input) or similar.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do numbers affect the trigonometric function?

Trigonometric functions are defined from a numeric domain to a numeric range. So the input number determines whether or not the function is defined for that value and, if so, what the value of the function is.


Which function can be used to check whether the value is numeric or not?

In Excel you can use the ISNUMBER() function.


How do you evaluate a function for a given input value?

Substitute the given value for the argument of the function.


Define the numeric value of perception?

numeric perception is a value of perception to the numeric value


How do you convert numeric value into alpha value in c plus plus programming language?

use the _itoa function


The ABS SQL function used for?

To return the absolute, positive value of a numeric expression.


What date manipulation functions returns a numeric value in SQL?

In SQL, the DATEDIFF() function returns a numeric value representing the difference between two dates in terms of days. Similarly, the DATEPART() function can return a numeric value for specific parts of a date, such as year, month, or day. Additionally, the DATEDIFF_BIG() function operates like DATEDIFF() but returns a larger integer for differences that exceed the range of a standard integer.


What is the numeric value of 165cm?

The numeric value is 165.


What is the numeric value for 0509882096?

The numeric value is 509882096


How do you evaluate functions?

To evaluate a function means to replace the variable with some value, and calculate the value of the function. For example, in the parabola y = x2 (or, using functional notation, f(x) = x2), if you replace x with 10, and calculate x2, you are evaluating the function for that specific value.


To evaluate a function for a specific value substitute the value in for what?

You substitute the variable for its value. Or you substitute the variables for each of the values.


What is the numeric value of 6 years?

The numeric value is 6.