decimal icon indicating copy to clipboard operation
decimal copied to clipboard

Arbitrary-precision fixed-point decimal numbers in Go

Results 162 decimal issues
Sort by recently updated
recently updated
newest added

Truncate function would be useful to parse also negative values. So for example, ```go a := decimal.RequireFromString("5432") b := a.Truncate(-2) ``` So `b` should return `5000`, currently it returns `a`...

Relates to: https://github.com/shopspring/decimal/issues/406