diff options
| author | Nikolaus Gotsche <n@softwarefools.com> | 2018-10-30 04:20:25 +0100 |
|---|---|---|
| committer | Nikolaus Gotsche <n@softwarefools.com> | 2018-10-30 04:20:25 +0100 |
| commit | 0e7ea506b76660c91fa9f479f7de9c79304ae0dc (patch) | |
| tree | 93ac969c5999eed8a2a7d548f3cdb56da5dc20c7 /utils.go | |
| parent | af56cfca0aca29efa7c507f75fabc2b090fbd4de (diff) | |
Import/Export ... thistime for real
Diffstat (limited to 'utils.go')
| -rw-r--r-- | utils.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -86,6 +86,16 @@ func frame(text string, head bool) (out string) { return } +// return the int as a string +func Sint(in int) (string) { + return fmt.Sprint(in) +} + +// return the float as a string +func Sflo(in float64) (string) { + return fmt.Sprintf("%.2f",in) +} + func getGitTag() string { var ( cmdOut []byte |
