Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird rounding
#6
(Oct-12-2018, 07:39 PM)PythonZenon Wrote: As you can tell, I am trying to avoid Decimal module if possible :)
But why?
Any why isn't float good enough? Is it actually acting in a way you don't expect, or is it just displaying poorly when printed?
Reply


Messages In This Thread
Weird rounding - by PythonZenon - Oct-12-2018, 06:37 PM
RE: Weird rounding - by nilamo - Oct-12-2018, 06:55 PM
RE: Weird rounding - by PythonZenon - Oct-12-2018, 07:02 PM
RE: Weird rounding - by nilamo - Oct-12-2018, 07:08 PM
RE: Weird rounding - by PythonZenon - Oct-12-2018, 07:39 PM
RE: Weird rounding - by nilamo - Oct-12-2018, 07:46 PM
RE: Weird rounding - by PythonZenon - Oct-12-2018, 07:54 PM
RE: Weird rounding - by ichabod801 - Oct-12-2018, 07:48 PM
RE: Weird rounding - by volcano63 - Oct-12-2018, 09:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  need help rounding joseph202020 7 2,618 Feb-21-2023, 08:13 PM
Last Post: joseph202020
  from numpy array to csv - rounding SchroedingersLion 6 5,827 Nov-14-2022, 09:09 PM
Last Post: deanhystad
  Random data generation sum to 1 by rounding juniorcoder 9 5,407 Oct-20-2021, 03:36 PM
Last Post: deanhystad
  Rounding issue kmll 1 2,146 Oct-08-2021, 10:35 AM
Last Post: Yoriz
  Not rounding to desired decimal places? pprod 2 3,235 Mar-05-2021, 11:11 AM
Last Post: pprod
  Decimal Rounding error project_science 4 3,760 Jan-06-2021, 03:14 PM
Last Post: project_science
  rounding and floats Than999 2 4,804 Oct-26-2020, 09:36 PM
Last Post: deanhystad
  Rounding to the nearest eight wallgraffiti 2 2,752 Jul-15-2020, 06:05 PM
Last Post: wallgraffiti
  rounding question DPaul 16 8,121 Apr-12-2020, 02:30 PM
Last Post: DPaul
  price + tax rounding mlieqo 11 8,802 Sep-21-2019, 04:53 PM
Last Post: mlieqo

Forum Jump:

User Panel Messages

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