comma

command
v0.0.0-...-9882766 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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

Example:

$ go build gopl.io/ch3/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