3 ms·
I never understood leading dot until I understood that native speakers indeed say ".3" (point three). Trailing makes it a floating point type instead of an int
by _blk 2y ago
I never understood leading dot until I understood that native speakers indeed say ".3" (point three).
Trailing makes it a floating point type instead of an integer
- papercrane 2y agoTrailing to signal a floating point seems like to niche of a use case to me. Generally it's best to treat every JSON number literal as a 64-bit float anyway for the sake of interoperability.
- SV_BubbleTime 2y agoRight, you guys say like “naught point three”… sounds just as weird to us as ours does to you. Still… I can be required to put a zero in, read 0.3, and still think “that’s point three”.
- 404mm 2y agoIt became quite normal for me to write 0.3 and read it as “point three”. I do agree that the English language makes it less awkward to just skip the zero. It leaves very little room for confusion.