Closed HassanZahirnia closed 1 year ago
This PR is to replace the bcdiv with NumberFormatter which providers a cleaner syntax. Also should mention that NumberFormatter requires intl extension, which is more commonly installed than bcmath so it's a better option in that regard as well.
bcdiv
NumberFormatter
intl
bcmath
100% of credit goes to Adam ( @awcodes )
Thanks.
This PR is to replace the
bcdiv
withNumberFormatter
which providers a cleaner syntax. Also should mention thatNumberFormatter
requiresintl
extension, which is more commonly installed thanbcmath
so it's a better option in that regard as well.100% of credit goes to Adam ( @awcodes )