About the use of Math after the decimal point

I’m thinking of making a calculator using Math.

The function is ±* / result and decimal point input of numerical value from 0 to 9, but if the calculation result is only after the decimal point, the number that was not originally entered will be displayed like an image.

How can I display the calculation result correctly on the Label?

Please help me, thank you.





You will need to round the result to a certain number of decimals. See this topic:

1 Like

tatiang

When I checked the contents of the link, I didn’t know the details, but the calculation itself was the same as the calculator!

thank you very much!!

1 Like