Contact: aviboots(AT)netvision.net.il
39,885 questions
51,811 answers
573 users
n = format(0.2, '%') print(n) ''' run: 20.000000% '''
x = 0.3 y = -0.4 print("{:.2%}".format(x)) print("{:.2%}".format(y)) ''' run: 30.00% -40.00% '''