Core Function isVarNumber

From Sputnik Wiki
Jump to: navigation, search
isVarNumber( $variable )

Contents

Description

Checks if a variable is any integer or float/double type.

Parameters

variable

The variable to check.

Return Value

Success: Returns true.

Failure: Returns false.

Remarks

None.

Example

$var1 = 100;
println( "Is it?: " . isVarNumber($var1) );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox