Python Forum
If a decimal is 0 how do I make it not show?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If a decimal is 0 how do I make it not show?
#3
(Feb-08-2019, 12:25 AM)micseydel Wrote: You probably just want to call int() on the number.

I only want them to be an integer when they have the decimal "0". How do I do that?
Reply


Messages In This Thread
RE: If a decimal is 0 how do I make it not show? - by GamingDay - Feb-08-2019, 12:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PIL Image im.show() no show! Pedroski55 2 1,006 Sep-12-2022, 10:19 PM
Last Post: Pedroski55
  Make console show after script was built with Pyinstaller --NOCONSOLE? H84Gabor 0 1,235 May-05-2022, 12:32 PM
Last Post: H84Gabor
  PIL Image im.show() no show! Pedroski55 6 5,030 Feb-08-2022, 06:32 AM
Last Post: Pedroski55
  How show decimal only for none whole number ? SpongeB0B 6 2,668 Mar-27-2020, 09:15 AM
Last Post: DeaD_EyE
  testing for Decimal w/o importing decimal every time Skaperen 7 4,509 May-06-2019, 10:23 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020