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

search for in the

empty> <debug_zval_dump
[edit] Last updated: Fri, 23 Mar 2012

view this page in

doubleval

(PHP 4, PHP 5)

doublevalfloatval() işlevinin takma ismidir

Açıklama

Bu işlev, floatval() işlevinin takma ismidir.

Sürüm Bilgisi

Sürüm: Açıklama
4.2.0 doubleval() işlevi floatval() işlevinin takma adı oldu. Daha önce sadece doubleval() vardı.



add a note add a note User Contributed Notes doubleval
Anonymous 14-Sep-2010 03:30
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