Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to display a float number in scientific?
#11
Absolutely right, Pete! But in the end, all that matters is the result . . . and the price one had to pay for it.
Reply
#12
Ah, but there is more than one result. There's the program, and then there's the programmer. One can find his socks, but the other can knit them. I'm really pissed now. Not at you, at that being the first analogy that popped into my head. Maybe you're right, next time ask ChatGBT to make all my analogies, so I don't need to make my apologies.

Pete
Shoot first and shoot people who ask questions, later.
Reply
#13
(08-04-2024, 02:25 PM)Kernelpanic Wrote: For example:
Code: (Select All)

Print Using "##.##^^^^"; 12345.6

Print Using
Perfect. Thanks very much.   Smile

It completely slipped my mind to adjust at Print Using level, even though I have formatting statements everywhere in the code.
Reply
#14
+1 to the Kernel for PRINT USING example.

+1 to Jack for alternative c lib example. (That one was new to me!)

Pete
Shoot first and shoot people who ask questions, later.
Reply
#15
yes +1 to KP for QUICK simple solution, I learned sometyhing too, start wearing tin foil hat.

ehhh I think jack cheated resorting to outside QB64 Smile
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#16
Jack can do whatever he wants. He honestly blew me away with his decfloat routine, and QB64 translates to C, anyway. Oh the irony!

Pete Smile
Shoot first and shoot people who ask questions, later.
Reply
#17
(08-05-2024, 04:25 PM)Pete Wrote: Jack can do whatever he wants. He honestly blew me away with his decfloat routine, and QB64 translates to C, anyway. Oh the irony!

Pete Smile

OK then Jack can give himself a point, I would like to C that!
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#18
Easy. Jack would just have to register with some BS alias like norbybot. Dodgy 

Pete
Shoot first and shoot people who ask questions, later.
Reply
#19
Angry

who was that masked alien?
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#20
the deleted post was an emoji that you get by pressing the Windows key and the . key, it doesn't work on this forum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Maximum Number of Attachments per Thread Magdha 7 445 01-13-2026, 10:13 AM
Last Post: Magdha
  Is it possible to display this SVG? SpriggsySpriggs 23 4,007 11-07-2025, 01:28 PM
Last Post: SpriggsySpriggs
  getting the number of dimensions in an array on the fly? madscijr 7 721 09-16-2025, 12:34 AM
Last Post: madscijr
  Random Number Generator pmackay 14 1,231 07-30-2025, 12:56 PM
Last Post: SMcNeill
  Illegal string-number conversion Herve 7 757 07-07-2025, 09:53 AM
Last Post: a740g

Forum Jump:


Users browsing this thread: