rfc:integer-rounding
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:integer-rounding [2024/03/17 12:22] – open voting mabe | rfc:integer-rounding [2024/04/02 07:07] (current) – Declined mabe | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2023-09-26 | * Date: 2023-09-26 | ||
* Author: Marc Bennewitz, php@mabe.berlin | * Author: Marc Bennewitz, php@mabe.berlin | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
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.1710678154.txt.gz · Last modified: 2024/03/17 12:22 by mabe