Flutter 颤振/飞镖:相当于;“子字符串”;对于整数
Dart中整数的子字符串的等价物是什么?例如:Flutter 颤振/飞镖:相当于;“子字符串”;对于整数,flutter,dart,Flutter,Dart,Dart中整数的子字符串的等价物是什么?例如: int 123456; result1 = 123; result2 = 456; 我已经走了这么远,但现在我被卡住了: int 123456; int result1 = ?? int result2 = 123456 % 1000; // 456 int result1=123456~/1000完美,谢谢int result1=123456~/1000完美,谢谢!
int 123456;
result1 = 123;
result2 = 456;
我已经走了这么远,但现在我被卡住了:
int 123456;
int result1 = ??
int result2 = 123456 % 1000; // 456
int result1=123456~/1000代码>完美,谢谢<代码>int result1=123456~/1000代码>完美,谢谢!