Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python won 't do decimals
#6
(Jun-08-2023, 03:25 PM)SomebodySmart Wrote: I'm running Python 3 using Terminal on my Mac.

I doubt it. Check https://peps.python.org/pep-0238/
and
https://docs.python.org/3/using/mac.html#

Probably you have python2 preinstalled and python refers to that one.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Python won 't do decimals - by SomebodySmart - Jun-08-2023, 10:30 AM
RE: Python won 't do decimals - by deanhystad - Jun-08-2023, 11:11 AM
RE: Python won 't do decimals - by buran - Jun-08-2023, 11:13 AM
RE: Python won 't do decimals - by SomebodySmart - Jun-08-2023, 03:25 PM
RE: Python won 't do decimals - by bowlofred - Jun-08-2023, 03:38 PM
RE: Python won 't do decimals - by buran - Jun-08-2023, 07:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Get numpy ceil and floor value for nearest two decimals klllmmm 4 1,340 Jun-07-2023, 07:35 AM
Last Post: paul18fr
  Adding Decimals to classes with OOP + rounding to significant digits (ATM demo) Drone4four 7 2,394 May-04-2022, 06:15 AM
Last Post: Drone4four
  floats 2 decimals rwahdan 3 1,671 Dec-19-2021, 10:30 PM
Last Post: snippsat
  Converting decimals stylingpat 3 2,170 Mar-27-2021, 02:32 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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