budgit/internal/ui/blocks/allocations.go
juancwu 2dac136049
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m31s
feat: savings allocations
2026-05-04 03:19:36 +00:00

13 lines
301 B
Go

package blocks
import "github.com/shopspring/decimal"
func decimalHundred() decimal.Decimal { return decimal.NewFromInt(100) }
func decimalZero() decimal.Decimal { return decimal.Zero }
func targetDisplay(t *decimal.Decimal) string {
if t == nil {
return ""
}
return t.StringFixedBank(2)
}