This website works better with JavaScript
Accueil
Explorer
Aide
S'inscrire
Connexion
betbetter
/
odds-format-utils
Suivre
1
Voter
0
Fork
0
Fichiers
Tickets
0
Pull Requests
0
Wiki
Branche:
master
Branches
Tags
master
odds-format-uti...
/
format.py
format.py
108 B
Lien permanent
Historique
Raw
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