How to use mathematical fractions and calculate with percentages?
FWIW:
using Printf
x = 4//10 + 1//5
@printf("%.2f%%", x*100)
60.00%
1 Like
How to use mathematical fractions and calculate with percentages?
FWIW:
using Printf
x = 4//10 + 1//5
@printf("%.2f%%", x*100)
60.00%