note 61978 deleted from function.sprintf by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 14:55:30 +0000 |
| Subject: | note 61978 deleted from function.sprintf by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197241@lists.php.net to get a copy of this message | ||
Note Submitter: mauf at franzoni dot info
----
The format of floating values has been previously reporting as depending on platform (linux /
windows) yet I see it changes within two linux systems depending on the version:
In V4.2.2 "%3.2" displays 3 integers and two decimals (i.e. the first digit represents
just the number of integer digits), on V4.4.1 the same displays (and justifies the string to) a
three character string (i.e. the first digit is the total lenght of the number, including the
decimal dot).
Maybe someone may better specify which version this happens from.