Numbers displayed in mill,micro or nano Seconds

Started by Baggey, September 04, 2021, 11:11:06

Previous topic - Next topic

Baggey

Hi,

When using numbers in Blitzmax they print out as 2.857e-007 Which is 285.7 nano or .2857 micro. This isn't very paletable so to speak. When hidden in side a calculation it dosent matter what form it's in! But when displaying to the screen for a Visual comprehension of the number it's nice to see them as mill, nano, micro, pico etc.. like Eng or -Eng button on a calculator!

Are there any hidden math functions that do this in Blitzmax?

For instance 1/(3.5*10^6)=2.85714293e-007 id like to force it to -006 or -009 or even -003.

Kind Regards Baggey


Running a PC that just Aint fast enough!? i7 Quad core 16GB ram 1TB SSD and NVIDIA Quadro K620 . DID Technology stop! Or have we been assimulated!

ZX Spectrum 48k, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip. Im Misunderstood!