2
I have a payment module where I must pass the data without decimals, only number. Examples:
10,00=1000
100,30=10030
1.000,00=100000
I researched some function in php that format decimal places, but the tests I performed did not go as expected, someone could help me in this question?
Gives a look here
– Ivan Ferrer
related: Php formatting of numerics to save to mysql database as DECIMAL
– novic