package
0.0.183
Repository: https://github.com/raceresult/go-model.git
Documentation: pkg.go.dev

# Functions

FromDuration creates a time from Duration.
FromFloat creates a new decimal from float.
FromInt creates a Decimal from an int.
FromInt64 creates a Decimal from an int64.
FromString creates a new decimal from string, returns 0 if parsing fails.
No description provided by the author
Val parses a string to Decimal, ignores errors.

# Constants

Decimals is the conversion factor for the fixed decimals number.
Max is the biggest possible Decimal value.
Min is the smallest possible Decimal value.

# Type aliases

Decimal implements a number with 4 Decimals.