rfc:change_the_edge_case_of_round
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:change_the_edge_case_of_round [2023/11/08 15:38] – saki | rfc:change_the_edge_case_of_round [2023/11/08 16:03] – saki | ||
---|---|---|---|
Line 174: | Line 174: | ||
// previous behavior | // previous behavior | ||
var_dump(round(0.285, | var_dump(round(0.285, | ||
+ | var_dump(round(0.28499999999999998, | ||
// new behavior | // new behavior | ||
var_dump(round(0.285, | var_dump(round(0.285, | ||
+ | var_dump(round(0.28499999999999998, | ||
</ | </ | ||
rfc/change_the_edge_case_of_round.txt · Last modified: 2023/12/08 00:37 by saki