Gen. partnerAlgotech

PHP function doubleval()

value of the given variable. Empty arrays return 0, non-empty arrays return 1.

|
September 11, 2019

(PHP 4.2.0, PHP 5)
doubleval � Alias of floatval() Get float value of a variable &Alias; floatval

Parameters

Parameter Data type Default value Note
$var mixed not

Return values

float

value of the given variable. Empty arrays return 0, non-empty arrays return 1.

Other resources

Official documentation of the doubleval function

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.