feat: savings allocations
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m31s

This commit is contained in:
juancwu 2026-05-04 03:19:36 +00:00
commit 2dac136049
17 changed files with 1140 additions and 4 deletions

View file

@ -0,0 +1,13 @@
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)
}