You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: quanity_util.go
    path of file: ./repos/plumber/vendor/github.com/lensesio/tableprinter
    
    the code of the file until where you have to start completion: package tableprinter

import (
	"math"
	"strconv"
	"strings"
)

var units = [...]string{"K", "M", "B", "T"}

/*
references & credits:
- https://github.com
    
func roundInt(input float64) int {
	var result float64

	if input < 0 {
		result = math.Ceil(input - 0.5)
	} else {
		result = math.Floor(input + 0.5)
	}

	i, _ := math.Modf(result)

	return int(i)
}