Error on buying price discount calculation

In v14.0.4, when creating a product, when you add a purchase price, and we put 100 of the list price (for example) and we put a discount of 10%, the result that shows is 81.00, when it should be 90, checking in a version 10 the calculation does it correctly, does anyone know how to fix this?