sharkdp / insect

High precision scientific calculator with support for physical units
https://numbat.dev/
MIT License
3.17k stars 126 forks source link

Convert output to Standard Scientific Notation #402

Closed MrMineev closed 8 months ago

MrMineev commented 10 months ago

I can't find how to convert the output to scientific notation. Is there a way to do this?

I tried adding the -> 10^2 unit. However, this didn't work; here is an example of what I mean:

>>> Mass = 100 kg

  Mass = 100 kg

>>> Mass -> 10^2 kg

  Mass ➞ 10^2 × kg

   = 100 kg

I was dealing with very small values, it would be helpful to be able to output them in scientific notation.

charlescochran commented 10 months ago

Also wondering this.

sharkdp commented 8 months ago

Closing this in favor of https://github.com/sharkdp/numbat/issues/219 on the follow-up project.