pub fn decimal_quantum(value: Decimal) -> Decimal
Calculate the quantum (smallest unit) of a decimal number based on its precision. For example: 10.436 has quantum 0.001, 100.00 has quantum 0.01