This commit is contained in:
Taylor Gerring
2014-11-14 15:01:52 -06:00
parent 56aa24002d
commit 2a9fc7baa9
15 changed files with 662 additions and 307 deletions

View File

@ -66,6 +66,7 @@ func CurrencyToString(num *big.Int) string {
denom = "Ada"
}
// TODO add comment clarifying expected behavior
if len(fin.String()) > 5 {
return fmt.Sprintf("%sE%d %s", fin.String()[0:5], len(fin.String())-5, denom)
}