Talk:Getting the number of decimal places: Difference between revisions

Content added Content deleted
(strings?)
Line 20: Line 20:
===Strings===
===Strings===
The "number of decimals" I took as being a function of how a number is represented. It is either stated implicitly or implied by its ''string'' representation. 1.0, 1.00, 1.000, and 1.0000 would all have the same floating point value in Python, but when read can suggest differing levels of precision used in calculating a value, (at least in Physics and Engineering when they pay attention to significant digits). --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 08:12, 16 August 2020 (UTC)
The "number of decimals" I took as being a function of how a number is represented. It is either stated implicitly or implied by its ''string'' representation. 1.0, 1.00, 1.000, and 1.0000 would all have the same floating point value in Python, but when read can suggest differing levels of precision used in calculating a value, (at least in Physics and Engineering when they pay attention to significant digits). --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 08:12, 16 August 2020 (UTC)
: Normally I would agree, but the reference implementation (Ring) does no string parsing whatsoever as far as I can tell. --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 08:45, 16 August 2020 (UTC)