QB64Team/qb64

PRINT cannot handle large _Floats

flukiluke opened this issue · 4 comments

Dim t As _Float
t = 1F300
Print t
Print Using "##.##################^^^^"; t
t = t * t
Print t
Print Using "##.##################^^^^"; t

Print is able to handle 1F300 but outputs INF D+300 when trying to print 1F600. Print Using correctly outputs the value.

Print calls STR$() internally, so that's where it must be.

Darn it, F in scientific notation? Wasn't it only D and E?

There goes:
image

Oh well... print using:
image