Closed
Description
Describe the bug
Wrong number of decimals in currency output
CodeIgniter 4 version
git 4.0.2 develop branch
Affected module(s)
Number Helper
Expected behavior, and steps to reproduce if appropriate
echo number_to_currency(3341.43, 'RSD','sr_RS');
Should have output "3.431,43 RSD" but instead I'm getting "3.431 RSD" without decimals
Context
- OS: MacOS 10.14.6
- Web server Apache MAMP Pro
- PHP version 7.2.21
Activity