change: add option to display 1.0M as 1000K
This is a change to implement #56
I cleaned up the code a bit in the truncateText function.
I also changed the behavior of truncateLetter to be the toggle for the Million display as 1.0M versus 1000K.
in short:
- [x] Truncate Letter -> 1.0M
- [ ] Truncate Letter -> 1000K
@S0yKaf Why cleaned up L[‘Truncate Letter East Asia’] support for East Asia?
@S0yKaf Why cleaned up L[‘Truncate Letter East Asia’] support for East Asia?
I just cleaned up the code to be more readable and less redundant. I did not change the functionality.
If the functionality did change, It wasn't my intention. so please let me know if that's the case.
@S0yKaf L['Truncate Letter East Asia'] It was added for the localisation of East Asia, which translates to ‘M’ = ‘万’.
@nanjuekaien1 I understand what I did wrong now. I fixed it