★ wanayoo — archive 1999 http://www.php.net/manual/de/function.doubleval.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Variablen
Quick Reference
English version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
Variablen
* call_user_func
* call_user_method
* doubleval
* empty
* gettype
* intval
* is_array
* is_bool
* is_double
* is_float
* is_int
* is_integer
* is_long
* is_object
* is_real
* is_resource
* is_string
* isset
* print_r
* settype
* strval
* unset
* var_dump
Manual: doubleval
View the source code for this pageSearch the site



Previous page
 call_user_method
 Updated
Sat, 12 Aug 2000
empty 
Next page


doubleval

(PHP3 , PHP4 )

doubleval -- Konvertiert einen Wert nach double

Beschreibung

double doubleval (mixed var)

Diese Funktion interpretiert ihr Argument als Fließkommazahl und liefert den Wert als double zurück.

Als var können beliebige skalare Ausdrücke, aber keine Arrays oder Objeket übergeben werden.


$var = '122.34343The';
$double_value_of_var = doubleval ($var);
print $double_value_of_var; // Ausgabe: 122.34343
      

Siehe auch intval(), strval(), settype() und Typ-Veränderung.


 About Notes


Previous page
 call_user_method
 Updated
Sat, 12 Aug 2000
empty 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.