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
b = b + ...
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!
b = b + ...
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?
b = b + ...
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




Users browsing this thread: 4 Guest(s)