I have a text box which shows price/unit. I want to display, if price Per Unit to be 4 decimal positions when necessary.
Math on this:
15.40 X 22.08 = $340.0320
340.03 / 15.40 = 22.0799
If Units are 1.00 and Total $ are $100.00
It should print price/unit as $100.00 (2 decimal positions). I want to change input mask dynamically. Any ideas?
Thanks
Math on this:
15.40 X 22.08 = $340.0320
340.03 / 15.40 = 22.0799
If Units are 1.00 and Total $ are $100.00
It should print price/unit as $100.00 (2 decimal positions). I want to change input mask dynamically. Any ideas?
Thanks