Python Forum
multiplying integer to decimal
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiplying integer to decimal
#9
(Jun-19-2017, 07:03 AM)ArnabRoyBatman Wrote: So you are saying that every time I have to do any mathematical work on python I have to import the decimal library and convert each number into decimal....that might get tedious for large programming

This is not a Python problem. Please read what floating point is.
It depends what you want. To do scientific calculations, you won't use decimal. For financial calculations you have to.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Messages In This Thread
multiplying integer to decimal - by ArnabRoyBatman - Jun-16-2017, 08:45 AM
RE: multiplying integer to decimal - by buran - Jun-16-2017, 08:58 AM
RE: multiplying integer to decimal - by snippsat - Jun-16-2017, 11:00 AM
RE: multiplying integer to decimal - by Ofnuts - Jun-19-2017, 10:56 PM
RE: multiplying integer to decimal - by DeaD_EyE - Jun-20-2017, 04:49 PM
RE: multiplying integer to decimal - by buran - Jun-19-2017, 07:19 AM
RE: multiplying integer to decimal - by Larz60+ - Jun-19-2017, 11:20 PM
RE: multiplying integer to decimal - by Ofnuts - Jun-20-2017, 04:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  number of digits in a decimal.Decimal number object Skaperen 0 813 Aug-26-2023, 07:38 PM
Last Post: Skaperen
  multiplying an iterator Skaperen 9 3,339 Oct-12-2021, 07:07 PM
Last Post: Skaperen
  About integer objects vs integer values Nwb 18 7,878 Apr-29-2019, 07:41 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