dart convert int string leading zeros

101

void main() {
 print(123.toString().padLeft(10, '0'));
}

Comments

Submit
0 Comments