1 2 3 4 5 6 7 8 9 10 11 12 13
discard """ output: ''' -100 -100,000 100,000 ''' """ # test https://github.com/nim-lang/Nim/issues/11352 import strutils echo insertSep($(-100), ',') echo insertSep($(-100_000), ',') echo insertSep($(100_000), ',')