May-23-2022, 09:12 PM
(May-23-2022, 09:01 PM)bowlofred Wrote: I don't see anything wrong with using a try/except for handling an attempt to see if something is or is not compatible with float().
How much memory does it use? That's part of the reasoning behind not relying on it.
While the topic of this thread is for general use, I've found that try blocks in circuitpython are memory hogs.
(May-23-2022, 09:01 PM)bowlofred Wrote: exponential notation while yours will not. Up to you if that's a problem. Yours will not handle negative numbers or numbers with an explicit plus sign.
That's what I was looking for. Thanks a bunch.
Still have a bit of work to do.