rfc:integer-rounding
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
rfc:integer-rounding [2024/03/17 13:38] – In voting phase mabe | rfc:integer-rounding [2024/03/18 15:13] – Fix grammar in a couple places theodorejb | ||
---|---|---|---|
Line 23: | Line 23: | ||
This RFC proposes to perform rounding on given int and return a rounded int value if possible by default. | This RFC proposes to perform rounding on given int and return a rounded int value if possible by default. | ||
- | In case of integer under-/ | + | In case of integer under-/ |
For '' | For '' | ||
Line 61: | Line 61: | ||
The '' | The '' | ||
- | As a result PHP will behave more precise | + | As a result PHP will behave more precisely |
Line 196: | Line 196: | ||
===== Unaffected PHP Functionality ===== | ===== Unaffected PHP Functionality ===== | ||
- | Rounding floating point numbers will not be effected | + | Rounding floating point numbers will not be affected |
===== Future Scope ===== | ===== Future Scope ===== | ||
- | After PHP 9 it can be considered to deprecate and remove the `force_float` argument again but due to very long future this is not part of this RFC. | + | After PHP 9 it can be considered to deprecate and remove the '' |
rfc/integer-rounding.txt · Last modified: 2024/04/02 07:07 by mabe