User Tools

Site Tools


uphp:functions:is_numeric

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:is_numeric [2017/05/08 14:30]
jeff
uphp:functions:is_numeric [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
 <span style="color:black">is_numeric ( <span style="color:black">is_numeric (
Line 14: Line 13:
 <span style="color:blue">$value <span style="color:blue">$value
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 Check to see if a value is numeric Check to see if a value is numeric
Line 23: Line 21:
 <html><b><span style="color:blue">$value<span style="color:black"></b></html>:  Variable or expression to be evaluated <html><b><span style="color:blue">$value<span style="color:black"></b></html>:  Variable or expression to be evaluated
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1 (true) if numeric, 0 (false) if not numeric (arrays always return 0) <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1 (true) if numeric, 0 (false) if not numeric (arrays always return 0)
uphp/functions/is_numeric.1494253807.txt.gz · Last modified: 2021/09/13 05:56 (external edit)