Closed vegimcarkaxhija closed 6 months ago
wc_format_decimal returns a string. Doesn't it need to be converted to float?
wc_format_decimal
I also expect that this does not work. Because for example the following values:
orderAmount: 195.2335 totalPaid: 195.23
Wil be converted to this now.
orderAmount: 195.2335 totalPaid: 195.2300
There is still no rounding on the orderAmount and the logic still thinks that the order is not paid while it is.
wc_format_decimal
returns a string. Doesn't it need to be converted to float?I also expect that this does not work. Because for example the following values:
Wil be converted to this now.
There is still no rounding on the orderAmount and the logic still thinks that the order is not paid while it is.