Contact: aviboots(AT)netvision.net.il
40,855 questions
53,260 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% '''