Compare commits
1 Commits
something
...
comment-cl
| Author | SHA1 | Date | |
|---|---|---|---|
| b58533d6ff |
@@ -16,7 +16,6 @@ import (
|
|||||||
|
|
||||||
var slackClient = &http.Client{Timeout: 5 * time.Second}
|
var slackClient = &http.Client{Timeout: 5 * time.Second}
|
||||||
|
|
||||||
// dollars converts cents to dollars
|
|
||||||
func dollars(cents int) string {
|
func dollars(cents int) string {
|
||||||
return fmt.Sprintf("$%.2f", float64(cents)/100)
|
return fmt.Sprintf("$%.2f", float64(cents)/100)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user