Good afternoon, I'm having difficulty getting M (million) K in my code, somehow simple, because I need it for more than one place, for example, I need the X value to be different from the Y value, but each one of them need to appear K or M if it passes a thousand or million, not 1,200,000.
I would just appear for example 1.2M.
Will I need to repeat the code in all the parts that will be made?
What is the best way to do it? Thanks in advance
I want some like this....