SwiftUI Text - How to convert 10^12 to 10 the correct format

后端 未结 0 743
情歌与酒
情歌与酒 2020-11-29 01:41

I am reading lines from a text files and displaying those lines on a Text element.

I may have scientific notation elements in there like

10^12 
10^9


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题