comma

command
v0.0.0-...-6fe4f4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Comma prints its argument numbers with a comma at each power of 1000.

Example:

$ go build gitlab.com/luyang93/The-Go-Programming-Language/ch03/comma
$ ./comma 1 12 123 1234 1234567890
1
12
123
1,234
1,234,567,890

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL