float to string conversion is no longer locale dependent

This commit is contained in:
Christoph M. Becker 2021-07-16 16:07:07 +02:00
parent 2ec2ad2aab
commit 1d61be1ed9
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

View file

@ -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>