tweak Str$ for single and double
#9
(12-01-2022, 12:17 PM)Jack Wrote: Pete, you can easily use C's sprintf to convert numbers to string but that is too much trouble for most people
It's because people want to get carried away about it. It's after using "PRINT USING" for long enough and being frustrated its output cannot easily be put on a string, and the programmer doesn't care about using commas, currency symbols, padding characters and other things.

I don't care much about fake decimal places, calculators could do it too. I've never seen it in action, only saw myself repeatedly pressing "square root" key until the calculator kept repeating an answer of "1." I used to have a calculator that displayed a row of "00000000" after an exponent went higher than 99. Also loved the calculator that dealt with division by zero with "0.E".

For a few months I had a calculator that I bought at Radio Shack which allowed simple BASIC programs. It sucked it had only one line of text for letters, numbers and symbols. I was dumb enough to bring it to school and resulted in its being lost being left in the bus. :/
Reply


Messages In This Thread
tweak Str$ for single and double - by Jack - 12-01-2022, 02:09 AM
RE: tweak Str$ for single and double - by Pete - 12-01-2022, 04:20 AM
RE: tweak Str$ for single and double - by Jack - 12-01-2022, 12:17 PM
RE: tweak Str$ for single and double - by mnrvovrfc - 12-01-2022, 03:34 PM
RE: tweak Str$ for single and double - by Pete - 12-01-2022, 02:09 PM
RE: tweak Str$ for single and double - by Jack - 12-01-2022, 02:19 PM
RE: tweak Str$ for single and double - by Pete - 12-01-2022, 02:24 PM
RE: tweak Str$ for single and double - by Pete - 12-01-2022, 03:51 PM



Users browsing this thread: 1 Guest(s)