标签 Dart 下的文章

int --> Stringint n = 3; String str = n.toString(); // "3"String --> intString str = "10"; int n = int.parse(str); // 10String --> doubleString str = "10.6"; double d = doulbe.parse(str); // 10double --> Stringdouble d = 14.96515; String str = d.toStringA...

阅读全部