Golang: Format Thousand Separator for Currency
There is a super easy trick to format a number with thousand separator in any language.
There is a super easy trick to format a number with thousand separator in any language.
Finding a minimum number between a list of numbers is not hard but most of the min functions compare only between two numbers. Here we… Read More »Get Minimum Number From a Slice In Golang
Let’s create a function that can accept multiple numbers and return the maximum number from them. In Golang, it is easy as pie and you… Read More »Golang How to Calc Max Int Function (Slice or Any Number Input)
Dear math package has a very good set of constants that help you do your job with confidence. You can use Max or Min constants:… Read More »Golang: Number Types Maximum and Minimum Value (Limit Values)
Another day, another type conversion in Golang 🙂 Today we want to convert a number from string into int64 type, using ParseInt method from strconv… Read More »Convert string to int64 in Golang