Documentation
¶
Index ¶
Examples ¶
Constants ¶
View Source
const TJS = "TJS"
View Source
const USD = "USD"
Variables ¶
This section is empty.
Functions ¶
func CalculateMonth ¶
Example ¶
fmt.Println(CalculateMonth(0, TJS)) fmt.Println(CalculateMonth(0, USD)) fmt.Println(CalculateMonth(500_000, TJS)) fmt.Println(CalculateMonth(500_000, USD)) fmt.Println(CalculateMonth(1_000_000, TJS)) fmt.Println(CalculateMonth(1_000_000, USD))
Output: 0 0 0 0 1666 2500 1250 1666 3333 5000 2500 3333
func PercentFor ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.