From b7258811458bfca1486598e24294308d9b5a89e1 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh <102361830+SeaswimmerTheFsh@users.noreply.github.com> Date: Thu, 16 Mar 2023 16:46:13 -0400 Subject: [PATCH] actually fixed rounding --- galaxy/galaxy.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 72da804..db91744 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -19,9 +19,8 @@ class Galaxy(commands.Cog): @commands.guild_only() async def polarisxpconvert(self, ctx, *, tatsu_studs: int): """Converts Tatsu Studs to Polaris XP.""" - math = round((tatsu_studs/25)*10, 0) - rounded_tatsu_studs = round(tatsu_studs, 0) - output_from = f'{rounded_tatsu_studs:,}' + math = round((tatsu_studs/25)*10) + output_from = f'{tatsu_studs:,}' output_to = f'{math:,}' embed = discord.Embed(color=await self.bot.get_embed_color(None)) embed.add_field(name="Tatsu Studs", value=f"{output_from}", inline=False)