Oct-26-2020, 09:08 PM
Hi, I don't understand why 10/3 the answer is 3 and 10.0/3.0 is 3.3333? Can anyone explain this to me? Thanks!
rounding and floats
|
|
Messages In This Thread |
rounding and floats - by Than999 - Oct-26-2020, 09:08 PM
RE: rounding and floats - by bowlofred - Oct-26-2020, 09:16 PM
RE: rounding and floats - by deanhystad - Oct-26-2020, 09:36 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
When is it safe to compare (==) two floats? | Radical | 4 | 792 |
Nov-12-2023, 11:53 AM Last Post: PyDan |
|
need help rounding | joseph202020 | 7 | 1,382 |
Feb-21-2023, 08:13 PM Last Post: joseph202020 |
|
from numpy array to csv - rounding | SchroedingersLion | 6 | 2,273 |
Nov-14-2022, 09:09 PM Last Post: deanhystad |
|
floats 2 decimals | rwahdan | 3 | 1,664 |
Dec-19-2021, 10:30 PM Last Post: snippsat |
|
Random data generation sum to 1 by rounding | juniorcoder | 9 | 3,519 |
Oct-20-2021, 03:36 PM Last Post: deanhystad |
|
Rounding issue | kmll | 1 | 1,444 |
Oct-08-2021, 10:35 AM Last Post: Yoriz |
|
Not rounding to desired decimal places? | pprod | 2 | 2,598 |
Mar-05-2021, 11:11 AM Last Post: pprod |
|
Decimal Rounding error | project_science | 4 | 2,798 |
Jan-06-2021, 03:14 PM Last Post: project_science |
|
Rounding to the nearest eight | wallgraffiti | 2 | 2,117 |
Jul-15-2020, 06:05 PM Last Post: wallgraffiti |
|
int, floats, eval | menator01 | 2 | 2,474 |
Jun-26-2020, 09:03 PM Last Post: menator01 |