Re: integer or float?
Ray Andrews <[email protected]> Thu, 2 Oct 2025 14:59:35 -0700
| Newsgroups | gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
On 2025-10-02 14:21, Bart Schaefer wrote: > It should be noted that you're seeing an effect of FORCE_FLOAT. > > A scalar (string) forced to floating point by math Rather intricate! I get it tho. But I stick to my guns that a trailing zero after a decimal point would be proper by default. As to the rest, there is no limitation, coded correctly one has complete control. And I take Lawrence's point that what looks like false precision in a measured number is nothing more than the internal representation of the number -- they aren't significant figures.