You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 14, 2024. It is now read-only.
if armydisplay.endswith(".0") or ("." in armydisplay and len(armydisplay) > 4):
armydisplay = armydisplay[:-2]
return f"{armydisplay}k"
else: # army >= 1M
armydisplay = str(round(army/1000000, 2))
if armydisplay.endswith(".0"):
armydisplay = armydisplay[:-2]
elif armydisplay.endswith("0"):
# This is the hundredth place. If the tenth place is 0, then floats will not include the hundredth place in a string and the previous if will catch it.