Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Splitting REALLY *REALLY* long lines into single character + CR + LF Circlotron 10 1,519 04-22-2025, 11:30 AM
Last Post: Circlotron
  double error Jack 1 606 08-16-2024, 08:43 PM
Last Post: Pete
  Integer (math) Single = Single SMcNeill 0 543 10-20-2023, 12:16 AM
Last Post: SMcNeill
  double to 2^53 Jack 4 907 05-03-2023, 08:31 PM
Last Post: Jack
  Reading a single value from Registry (Win) euklides 1 677 06-06-2022, 02:41 PM
Last Post: euklides

Forum Jump:


Users browsing this thread: 1 Guest(s)