mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-01-23 16:42:58 -05:00
Humanize number fix (#6283)
Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
@@ -8,6 +8,9 @@ __all__ = ("finite_float",)
|
||||
_ = Translator("Trivia", __file__)
|
||||
|
||||
|
||||
MAX_VALUE = 2**63 - 1
|
||||
|
||||
|
||||
def finite_float(arg: str) -> float:
|
||||
try:
|
||||
ret = float(arg)
|
||||
|
||||
Reference in New Issue
Block a user