Hi,
I'm using
{{numberFormat listPrice decimals=2 decimalPoint=',' thousandsSeparator='.'}}
to translate decimal and thousands separators to italian number format. I see a strange behaviour: it works when number is <1000 but if greater it logs:
[2019-01-29 12:35:20] Espo.NOTICE: E_NOTICE: A non well formed numeric value encountered {"code":8,"message":"A non well formed numeric value encountered","file":"/var/wwwtest/z-test/data/cache/templates/5c50488845eb76.08905786.php","line":31,"context":{ "context":["1,120.00"],"options":{"decimals":2,"decimalPoint":",","thous andsSeparator":"."},"number":"1,120.00","decimals" :2,"decimalPoint":",","thousandsSeparator":"."}} []
I'd like to check php template file in cache ... how can I temporarily disable template cache from being cleaned.
any ideas?
thanks,
Michele
I'm using
{{numberFormat listPrice decimals=2 decimalPoint=',' thousandsSeparator='.'}}
to translate decimal and thousands separators to italian number format. I see a strange behaviour: it works when number is <1000 but if greater it logs:
[2019-01-29 12:35:20] Espo.NOTICE: E_NOTICE: A non well formed numeric value encountered {"code":8,"message":"A non well formed numeric value encountered","file":"/var/wwwtest/z-test/data/cache/templates/5c50488845eb76.08905786.php","line":31,"context":{ "context":["1,120.00"],"options":{"decimals":2,"decimalPoint":",","thous andsSeparator":"."},"number":"1,120.00","decimals" :2,"decimalPoint":",","thousandsSeparator":"."}} []
I'd like to check php template file in cache ... how can I temporarily disable template cache from being cleaned.
any ideas?
thanks,
Michele
Comment