Re: Phix, numbers, printf, log10
- Posted by petelomax Feb 26, 2024
- 1084 views
RobertS said...
petelomax said...
OK, I've aligned the "fwk" side with the "(f-digit)*10" side and got rid of fadj, and pushed all this to https://raw.githubusercontent.com/petelomax/Phix/master/builtins/VM/pprntfN.e which you may find much easier:
printf(1, "%e", 38.24)
3.802400e+1
I missed a *10, new version at same link