This website works better with JavaScript
Acasă
Explorează
Ajutor
Înregistrare
Autentificare
betbetter
/
odds-format-utils
Urmărește
1
Stea
0
Bifurcare
0
Fisiere
Probleme
0
Trageți solicitările
0
Wiki
Arbore:
2dc387b0d0
Ramuri
Etichete
master
odds-format-uti...
/
format.py
format.py
108 B
Istoric
Crud
1
2
3
4
5
def fmt_american(a):
return ("+%d" % a) if a > 0 else str(a)
def fmt_decimal(d):
return "%.2f" % d