Extension on String :: Dart

前端 未结 0 1862
隐瞒了意图╮
隐瞒了意图╮ 2020-12-30 10:58

I have some doubles in type of String like \'123.0\' or \'0.0\' and I want to remove it leading points.

removing points can easily achieved by

num.toSt         


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