I have 2 text boxes. One is named TB4, which shows the value in Maunds (1 Maund = 40 Kg). The second one is TB5, which shows the value in Kilograms.
After calculation, the result is usually a simple decimal value like 201 Maund, 205 Maund, or 2 Maund. But when the value is like 201.521 Maund or 205.231 Maund, I want:
- The part before the decimal to be shown in TB4, and
- The fractional part after the decimal (converted to kilograms by multiplying with 40) to be shown in TB5.
Please explain how to do this
