I would like to convert numbers to the shorter form using NSNumberFormatter
.
For example: From 23000 to get 23K.
How I can do it using NSNumberFormatter
?
I know it is possible to do calculation on my own, but in my case it is not right way to go.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…