This website works better with JavaScript
Home
Esplora
Aiuto
Registrati
Accedi
betbetter
/
odds-format-utils
Segui
1
Vota
0
Forka
0
File
Problemi
0
Pull Requests
0
Wiki
Ramo (Branch):
master
Rami (Branch)
Tag
master
odds-format-uti...
/
format.py
format.py
108 B
Permalink
Cronologia
Originale
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