Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Additional formating option #268

Open
M1cN opened this issue Sep 29, 2022 · 4 comments
Open

FR: Additional formating option #268

M1cN opened this issue Sep 29, 2022 · 4 comments

Comments

@M1cN
Copy link

M1cN commented Sep 29, 2022

Hi,
Would it be possible to add an additional formatting option like kilo?

Multiply with 1000 ((ex. 0,150 kW -> 150 W)

kilo number Divide number value by 1000 (ex. 1500 W -> 1.5 kW)
gram :P number Multiply number value by 1000 ((ex. 0,150 kW -> 150 W)

Thanks

@dsolva
Copy link

dsolva commented Aug 10, 2023

I support this since the card does not use the units I chose for the entity. (I wanted MB and still would need ×1024 :(.

@HermesHonshappo
Copy link

I second this motion :)
Ideally, we'd need to be able to use the most common scientific multiples:

  • kilo, mega, giga, tera
  • milli, micro, nano

Also, we'd need to be able to comine this with a specific precision. Right now, we can't combine kilo with precision0, for example

I guess this ties in with #304

@syphernl
Copy link

I made a PR to add unkilo that does this: #326

I'm not really sure about whether this name makes any sense but I'm open to suggestions if there are beter ideas 😄

@ildar170975
Copy link

milli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants