Re: integer or float?
Ray Andrews <[email protected]> Thu, 2 Oct 2025 10:35:01 -0700
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
On 2025-10-02 08:54, Lawrence Velázquez wrote: > https://0.30000000000000004.com/ > > Again, if you care about the visible representation of a number > (this includes inspecting variable expansions), you should be using > formatted output, not expecting the shell to read your mind. Yeah, fair enough, I concede the point. we see the internal representation there, I suppose it could be a design decision to give a more readable output in all cases, but as you say, that's available via printf so there really isn't a problem. Indeed I do have a bias in that I don't like absolute values displayed as tho they were measured values with some level of precision when they ain't. I yield.