godecimal

package
v1.0.48 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decimal

func Decimal(value float64) float64

Decimal 四舍五入

func JdCommission added in v1.0.44

func JdCommission(y, x float64) float64

JdCommission 京东佣金

func Multiply added in v1.0.47

func Multiply(y, x float64) float64

Multiply 相乘

func PddCommission added in v1.0.44

func PddCommission(y, x float64) float64

PddCommission 拼多多佣金

func PddCouponAmount added in v1.0.44

func PddCouponAmount(y int64) float64

PddCouponAmount 优惠券金额

func PddCouponProportion added in v1.0.44

func PddCouponProportion(y int64) float64

PddCouponProportion 拼多多佣金比率

func PddGoodsOriginalPrice added in v1.0.44

func PddGoodsOriginalPrice(y int64) float64

PddGoodsOriginalPrice 拼多多商品原价

func PddGoodsPrice added in v1.0.44

func PddGoodsPrice(y, x float64) float64

PddGoodsPrice 拼多多商品券后价

func Round added in v1.0.44

func Round(f float64, n int) float64

Round 四舍五入

func RoundYInt64 added in v1.0.44

func RoundYInt64(y int64, n int) float64

RoundYInt64 四舍五入

func RoundYString added in v1.0.44

func RoundYString(y string, n int) float64

RoundYString 四舍五入

func TbCommission added in v1.0.44

func TbCommission(y, x float64) float64

TbCommission 淘宝佣金

func TbCouponAmount added in v1.0.44

func TbCouponAmount(y int64) float64

TbCouponAmount 淘宝优惠券金额

func TbCouponProportion added in v1.0.44

func TbCouponProportion(y string) float64

TbCouponProportion 淘宝佣金比率

func TbGoodsOriginalPrice added in v1.0.44

func TbGoodsOriginalPrice(y string) float64

TbGoodsOriginalPrice 淘宝商品原价

func TbGoodsPrice added in v1.0.44

func TbGoodsPrice(y, x float64) float64

TbGoodsPrice 淘宝商品券后价

func WmCommission added in v1.0.44

func WmCommission(y int64) float64

WmCommission 小商店佣金

func WmCouponAmount added in v1.0.44

func WmCouponAmount(y string) float64

WmCouponAmount 小商店优惠券金额

func WmCouponProportion added in v1.0.44

func WmCouponProportion(y int64) float64

WmCouponProportion 小商店佣金比率

func WmGoodsOriginalPrice added in v1.0.44

func WmGoodsOriginalPrice(y int64) float64

WmGoodsOriginalPrice 小商店商品原价

func WmGoodsPrice added in v1.0.44

func WmGoodsPrice(y int64) float64

WmGoodsPrice 小商店商品券后价

Types

This section is empty.

Jump to

Keyboard shortcuts

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