Re: [RFC] [Discussion] Change the edge case of round()
| From: | Saki Takamachi | Date: | Wed, 08 Nov 2023 14:42:07 +0000 |
| Subject: | Re: [RFC] [Discussion] Change the edge case of round() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121619@lists.php.net to get a copy of this message | ||
I forgot to quote again.
> It might make sense to also put some info what other languages / dbs do. For example Python
> round(0.285, 2) result is 0.28 and it's got also decimal parameter. If you can find other
> implementations that have got such function, that would be great!
Added results for Ruby, Python, and major DBs.
Regards.
Saki