(07-18-2022, 07:16 PM)bplus Wrote: Here is a Round$ that acts the way you'd expect in under 100 LOC
Finally getting around to this... thanks!
One question about part of the code:
(07-18-2022, 07:16 PM)bplus Wrote:Code: (Select All)Function N2S$ (EXP$) 'remove scientific Notation to String (~40 LOC)
...
ReDim t$, sign$, l$, r$, r&&
ReDim dp As Long, dm As Long, ep As Long, em As Long, check1 As Long, l As Long, i As Long
...
Why ReDim instead of Dim?
I only ever use ReDim if I need to grow or shrink an array.
But these don't seem to be arrays and are not ReDimmed later in the function, so is there any advantage for ReDim that maybe I don't know?
(I figure I might as well ask!)
Thanks again!