项目作者: lovung

项目描述 :
Mathematic library for the Decimal number - Support recurring decimal
高级语言: Go
项目地址: git://github.com/lovung/decimal.git
创建时间: 2020-12-10T02:40:27Z
项目社区:https://github.com/lovung/decimal

开源协议:MIT License

下载


Decimal library

Go
Goreport
GoDoc
codecov

Document

TODO

Basic operators

  • Add
  • Sub
  • Mul
  • Div
  • Abs
  • Neg

Comparing & Signing

  • Cmp
  • Sign
  • Equal

Advance operators

  • Pow
  • Shift
  • Sin
  • Asin
  • Cos
  • Acos
  • Tan
  • Atan
  • Cotan
  • Acotan

Convert

  • String
  • Float64

Parser (Marshal/Unmarshal)

  • Text
  • JSON
  • XML

SQL

  • Value
  • Scan

Utilities

  • Sum
  • Avg
  • Min
  • Max

Rounding

  • Round
  • RoundUp
  • RoundDown