rgmath

package
v1.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 2 Imported by: 0

README

计算工具

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(param1, param2 interface{}) (data decimal.Decimal, err error)

Add @Param : param1, param2 interface{} 支持int, float, string @Return : param decimal.Decimal @Author : LiJunDong @Time : 2022-06-18

func Div

func Div(param1, param2 interface{}) (data decimal.Decimal, err error)

Div @Param : param1, param2 interface{} @Return : data decimal.Decimal, err error @Author : LiJunDong @Time : 2022-06-18

func Mul

func Mul(param1, param2 interface{}) (data decimal.Decimal, err error)

Mul @Param : param1, param2 interface{} @Return : data decimal.Decimal, err error @Author : LiJunDong @Time : 2022-06-18

func Sub

func Sub(param1, param2 interface{}) (data decimal.Decimal, err error)

Sub @Param : param1, param2 interface{} @Return : data decimal.Decimal, err error @Author : LiJunDong @Time : 2022-06-18

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL