Umbraco.Commerce.Issues icon indicating copy to clipboard operation
Umbraco.Commerce.Issues copied to clipboard

Umbraco Commerce 14.0.0-rc3 - Price field (Uc.PropertyEditorUi.Price) not saving decimal values

Open asawyermarathon opened this issue 6 months ago • 3 comments

In Umbraco Commerce 14.0.0-rc3, the Uc.PropertyEditorUi.Price | Umbraco.Commerce.Price data type will not save USD decimal places - it only saves whole numbers.

Setting a value to 1.25 only saves as 1.00

Steps To Reproduce Steps to reproduce the behavior:

  1. Install Umbraco Commerce 14.0.0-rc3
  2. Add and configure the currency to be in USD
  3. Add a new Uc.PropertyEditorUi.Price field to a doctype
  4. Modify the value with decimal data
  5. The decimal values are not saved, only the integer portion is saved.

Expected behavior Price should save decimal numbers

Screenshots If applicable, add screenshots to help explain your problem.

https://github.com/user-attachments/assets/3e376d39-b11c-45b8-99ca-428cad74f8dc

Umbraco Commerce version: Umbraco Commerce 14.0.0-rc3 Umbraco 14.1.1

asawyermarathon avatar Aug 15 '24 19:08 asawyermarathon