Timeline for Why does Python's math.ceil return a float?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 26, 2019 at 22:22 | history | edited | Robert Harvey | CC BY-SA 4.0 |
added 2 characters in body
|
Aug 20, 2015 at 8:32 | comment | added | CodesInChaos | A parameter signifying decimal digits while rounding a binary floating point number might not be the best of ideas. If the rounding is for display purposes I'd do it as part of the conversion to string, if it's required for the correctness of the computation, a binary floating point number probably isn't the correct choice of type. | |
Aug 20, 2015 at 1:22 | vote | accept | Naftuli Kay | ||
Aug 20, 2015 at 16:10 | |||||
Aug 20, 2015 at 1:10 | history | edited | Robert Harvey | CC BY-SA 3.0 |
deleted 43 characters in body
|
Aug 20, 2015 at 0:59 | history | answered | Robert Harvey | CC BY-SA 3.0 |