mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Float to string conversion may cause E (bug #42432)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246636 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9b69d287ab
commit
94c8614d88
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.191 $ -->
|
||||
<!-- $Revision: 1.192 $ -->
|
||||
<chapter xml:id="language.types" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Types</title>
|
||||
|
||||
|
@ -1215,6 +1215,8 @@ $third = $str{2};
|
|||
An <type>integer</type> or a floating point number (<type>float</type>)
|
||||
is converted to a string representing the number with its digits
|
||||
(including the exponent part for floating point numbers).
|
||||
Floating point numbers can be converted using the exponential notation
|
||||
(<literal>4.1E+6</literal>).
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue