Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Total Price

Vincentius Alex   ( User )

Commented 4 years ago

When im creating invoices, or changing the price for an product it always change the price. example when i put the price 1,00 it will change 10000,00 how to fix this?

Stan Derksen   ( User )

Commented 4 years ago

I am having the same problem. It looks like Akaunting reads the double as an integer, as the doubles are stored with a precision of 4 zeros. (1,00 will be stored as 1,0000 and the server reads 10000 so it translates it to 10000,00).

PHP: 7.4
Akaunting: 2.0.25
MySQL: 5.7.31-cll-lve

Vincentius Alex   ( User )

Commented 4 years ago

I solved the problem by changing switching (.) and (,)

Stan Derksen   ( User )

Commented 4 years ago

For me it happened for all previous prices as I imported a database from an different server.

Ravin Burhan   ( User )

Commented 1 year ago

I solved the problem by setting Precision of all currencies to 2

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions