How to Install golang-github-shopspring-decimal-dev in Ubuntu 18.04



Install golang-github-shopspring-decimal-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install golang-github-shopspring-decimal-dev

Description:

arbitrary-precision fixed-point decimal numbers in go

Features * the zero-value is 0, and is safe to use without initialization * addition, subtraction, multiplication with no loss of precision * division with specified precision * database/sql serialization/deserialization * json and xml serialization/deserializationInstall

Homepage: https://github.com/shopspring/decimal

Version: 0.0~git20170816.b9ab2bc-1

Section: universe/devel