Gold Purity: must be selected from the list; II not selected, default is 24K.
o Weight: must be a positive numeric value.
o Unit: must be selected from the available units; if not selected, default is Gram.
° Base Price: must be a positive numeric value (in VND per gram).
o Mode: optional; if not selected, default is Buy.
•
Gold Purity Options:
•
•
。 24K: 99.9% purity (factor 1.000).
。 21K: 87.5% purity (factor = 0.875).
。 18K: 75.0% purity (factor = 0.750).
。 14K: 58.5% purity (factor=0.585).
Unit Conversion:
o Gram: 1.00 gram.
o Chi: 3.75 grams.
o Tael: 37.5 grams.
Result Display: when the user clicks "Calculate Price", the system performs the following:
o If the Weight or Base Price field is missing or invalid, the message appears: "Please
enter valid positive numbers!".
。 The system multiplies: Weight x Unit Base Price × Purity Factor.
o If Mode = Sell, then the result is multiplied by 0.98 (reducing 2%).
o The result is displayed in Vietnamese Dong (VND) with thousand separators.
|
Zoom
+ 100%
Page 414
Close