downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

empty> <debug_zval_dump
[edit] Last updated: Wed, 19 Jun 2013

view this page in

doubleval

(PHP 4, PHP 5)

doublevalPseudonim pentru floatval()

Descrierea

Această funcție este pseudonim pentru: floatval().

Istoria schimbărilor

Versiunea Descriere
4.2.0 doubleval() a devenit un pseudonim al floatval(). }nainte de aceasta a existat numai doubleval().



add a note add a note User Contributed Notes doubleval - [1 notes]
up
0
Anonymous
2 years ago
We can convert the value to normal decimal value...
<?php
 $mynumstr
= "100,000,000.75";
 
$mynum = doubleval(str_replace(",","",$mynumstr));
 echo
"Normal Value:".number_format($mynumstr);
?>

 
show source | credits | sitemap | contact | advertising | mirror sites