Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal provides a high-performance, arbitrary precision, floating-point decimal library.
Package apd implements arbitrary-precision decimals.
Package inf (type inf.Dec) implements "infinite-precision" decimal arithmetic.
Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal implements an arbitrary precision fixed-point decimal.
Package bcd provides functions to encode byte arrays to BCD (Binary-Coded Decimal) encoding and back.
Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal with support of Tarantool's decimal data type.
Implementation of Python's strftime in Go Example: str, err := strftime.Format("%Y/%m/%d", time.Now()) // 2012/12/07 Directives: %a - Locale’s abbreviated weekday name %A - Locale’s full weekday name %b - Locale’s abbreviated month name %B - Locale’s full month name %c - Locale’s appropriate date and time representation %d - Day of the month as a decimal number [01,31] %H - Hour (24-hour clock) as a decimal number [00,23] %I - Hour (12-hour clock) as a decimal number [01,12] %j - Day of year %m - Month as a decimal number [01,12] %M - Minute as a decimal number [00,59] %p - Locale’s equivalent of either AM or PM %S - Second as a decimal number [00,61] %U - Week number of the year %w - Weekday as a decimal number %W - Week number of the year %x - Locale’s appropriate date representation %X - Locale’s appropriate time representation %y - Year without century as a decimal number [00,99] %Y - Year with century as a decimal number %Z - Time zone name (no characters if no time zone exists) Note that %c returns RFC1123 which is a bit different from what Python does
Package decimal implements fixed-point decimal with accuracy to 3 digits of precision after the decimal point.
Package decimal implements immutable decimal floating-point numbers.
Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal implements an arbitrary precision fixed-point decimal.
Package decimal implements an arbitrary precision fixed-point decimal.