mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
float to string conversion is no longer locale dependent
This commit is contained in:
parent
2ec2ad2aab
commit
1d61be1ed9
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
a <type>string</type> as operand may not have the desired effect due to the
|
||||
way PHP converts <type>float</type> values to <type>string</type>, namely
|
||||
that the <type>string</type> may be in exponential notation (which is not
|
||||
supported by BCMath), and that the decimal separator is locale dependent
|
||||
supported by BCMath), and that, prior to PHP 8.0.0, the decimal separator is locale dependent
|
||||
(while BCMath always expects a decimal point).
|
||||
</para>
|
||||
<informalexample>
|
||||
|
|
Loading…
Reference in a new issue