How to convert double to int and display it on Text in swiftUI?

后端 未结 0 1114
一个人的身影
一个人的身影 2021-02-03 11:17

I\'ve created an Double variable and in the view it\'s displaying like "1.0" I just want to display it in "1" so how can I do conversion in text to display i

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