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?
#5
(Feb-08-2019, 12:57 AM)micseydel Wrote: Ah, ok, yeah that's a little different. You can try using the modulo operator (e.g. your_num % 1 == 0).

Ok, thanks.
Reply


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

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