Describe the bug
Numbers bounce around because the decimal points are not consistent. At each magnitude we should pick number of decimal points. Currently we see things like cpu hash rate fluctuate like this:
567
567.3
234.06
233.4
250
This looks bad and perturbs the eye.
Here is the rule:
Less than 10,000 tXTM: Show the full balance with 2 decimal points.
10,000 tXTM or more: Use the "k" designation (e.g., 10.25k) and display 2 decimal points.
Localization rules:
Hopefully these are out of the box but to clarify:
US/UK Localization:
Use a period (.) as the decimal separator and a comma (,) as the thousands separator. Example: 1,234.56 for full balances or 1.23k for abbreviated balances.
European (Continental) Localization:
Use a comma (,) as the decimal separator and a period (.) as the thousands separator. Example: 1.234,56 for full balances or 1,23k for abbreviated balances.
Indian Localization:
Use a period (.) as the decimal separator and format thousands with the Indian numbering system, using commas (,) to separate groups after the first thousand (e.g., lakhs, crores). Example: 1,23,456.78 for full balances or 1.23L (Lakh) for abbreviated balances.
Chinese/Japanese/Korean Localization:
Decimal separator is a period (.). Example: 123456.78 for full balances or 12.35万 (ten-thousands unit) for abbreviated balances in Chinese or Japanese, or 12.35천 in Korean.
Middle Eastern (Arabic) Localization:
Use an Arabic script numeral format, with a comma (,) as the decimal separator and a period (.) as the thousands separator. Example: ١.٢٣٤,٥٦ for full balances or ١٫٢٣ك for abbreviated balances.
Describe the bug Numbers bounce around because the decimal points are not consistent. At each magnitude we should pick number of decimal points. Currently we see things like cpu hash rate fluctuate like this:
567 567.3 234.06 233.4 250
This looks bad and perturbs the eye.
Here is the rule:
https://www.loom.com/share/42d280bd2b834b28acf7d63c38db0426?sid=25891315-93b9-44f8-a179-dbb3c426ac7b
Localization rules: Hopefully these are out of the box but to clarify:
US/UK Localization: Use a period (.) as the decimal separator and a comma (,) as the thousands separator. Example: 1,234.56 for full balances or 1.23k for abbreviated balances.
European (Continental) Localization: Use a comma (,) as the decimal separator and a period (.) as the thousands separator. Example: 1.234,56 for full balances or 1,23k for abbreviated balances.
Indian Localization: Use a period (.) as the decimal separator and format thousands with the Indian numbering system, using commas (,) to separate groups after the first thousand (e.g., lakhs, crores). Example: 1,23,456.78 for full balances or 1.23L (Lakh) for abbreviated balances.
Chinese/Japanese/Korean Localization: Decimal separator is a period (.). Example: 123456.78 for full balances or 12.35万 (ten-thousands unit) for abbreviated balances in Chinese or Japanese, or 12.35천 in Korean.
Middle Eastern (Arabic) Localization: Use an Arabic script numeral format, with a comma (,) as the decimal separator and a period (.) as the thousands separator. Example: ١.٢٣٤,٥٦ for full balances or ١٫٢٣ك for abbreviated balances.