internal

package
v0.0.0-...-c3006eb Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatPrice

func FormatPrice(v float64) string

FormatPrice 价钱格式化

func GetTaxRate

func GetTaxRate(taxIncome float64) (float64, float64)

GetTaxRate 计算个税比率和速算金额 1, 不超过 36,000 元的部分, 税率: 3%, 速算扣除: 0 2, 超过 36,000 元至 144,000 元的部分, 税率: 10%, 速算扣除: 2520 3, 超过 144,000 元至 300,000 元的部分, 税率: 20%, 速算扣除: 16920 4, 超过 300,000 元至 420,000 元的部分, 税率: 25%, 速算扣除: 31920 5, 超过 420,000 元至 660,000 元的部分, 税率: 30%, 速算扣除: 52920 6, 超过 660,000 元至 960,000 元的部分, 税率: 35%, 速算扣除: 85920 7, 超过 960,000 元的部分, 税率: 45%, 速算扣除: 181920

Types

This section is empty.

Jump to

Keyboard shortcuts

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