Ruby equivalent of Python's conventional number separation

后端 未结 0 738
轻奢々
轻奢々 2021-02-05 14:14

In Python, we have something like print(f\'{int(input()):,}\') that separates numbers by commas. That is for example, if we provide the input of 70671891032

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