TwistPHP Documentation

float

File path: dist/twist/Core/Utilities/Validate.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

floatValidate a float

Parameters

Name Type Description
$fltFloatfloatn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$fltFloat 6.12;

//Call the function float with the example vars
Twist::Validate() -> float($fltFloat);