glances display: does G mean 10^9 or 2^30 bytes? #2585
Answered
by
nicolargo
Twixtfanatic
asked this question in
Q&A
-
I want to write a memory-hungry app, every Megabyte of RAM counts. |
Beta Was this translation helpful? Give feedback.
Answered by
nicolargo
Nov 5, 2023
Replies: 1 comment
-
Hi @Twixtfanatic, sorry for the respond delay. The following method is used to convert units to human readable string:
So GB mean 10^9 bytes. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Twixtfanatic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Twixtfanatic,
sorry for the respond delay.
The following method is used to convert units to human readable string: