Hi Chris, > Looks very promising! > > The default value for rounding is PHP_ROUND_TOWARD_ZERO. Is this because it > is the same as the BCMath functions for consistency only or do you expect > this to be the most used rounding mode? > I didn't find any discussion about this choice, sorry if I missed it.
Thank you! Yes, you're right, I've made it match the existing behavior of BCMath. And rest assured, there has been no discussion about that yet. I haven't thought about it in detail yet, but maybe there are other ideal initial values? Regards. Saki