issues Search Results · repo:proprietary/cash language:Go
Filter by
3 results
(81 ms)3 results
inproprietary/cash (press backspace or delete to remove)package main
import (
fmt
github.com/zdsai/cash
)
func main() {
a, _ := cash.NewUSD().SetString( 1234567.89 )
fmt.Print(a, \n , a.Amt)
}
Results in:
appdata@MINGW64 ~/projects/cash
$ go run ...
jasonharrison
- Opened on Apr 1, 2018
- #6
package main
import (
fmt
github.com/zdsai/cash
)
func main() {
a, _ := cash.NewUSD().SetString( 666.995 )
fmt.Println(a)
}
Results in:
appdata@MINGW64 ~/projects/cash
$ go run main.go
- $,667.00 ...
jasonharrison
- Opened on Apr 1, 2018
- #4
package main
import (
fmt
github.com/zelcon5/cash
)
func main() {
var m *cash.Cash
m = cash.NewUSD().SetCents(-1200)
fmt.Println(m.String())
}
Prints:
$,-12.00
jasonharrison
- 2
- Opened on May 3, 2017
- #1

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.