-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Misc: Help convert MB to GB #407
Comments
In case you're not aware, you can do math in HA templates. Also note, since your example is in MB (not MiB), you divide by 1000 to get GB. |
Result: 181,953 GB |
maybe you need parentheses for that. Try plugging the template into the HA devtools template tester and play around with it until you get the output you want. |
Not perfect, but it works. Sample:
|
Please help me convert MB to GB in this code:
Result: 181 953,0 MB
The text was updated successfully, but these errors were encountered: