TwistPHP Documentation

checkFloat

File path: dist/twist/Core/Models/Validate/Validator.model.php
Namespace: Twist\Core\Models\Validate
Extends:

checkFloat

Parameters

Name Type Description
$strKeystringn/a
[$blAllowBlank = false]booleann/a
[$blRequired = true]booleann/a
[$blTrim = true]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$strKey 'foo';
$blAllowBlank false;
$blRequired true;
$blTrim true;

//Call the function checkFloat with the example vars
$resValidator = new \Twist\Core\Models\Validate\Validator();
$resValidator -> checkFloat($strKey$blAllowBlank$blRequired$blTrim);