fin

Finance for Go

Fin

Finance for Go.


Simple and Compound Interest


package main

import (
	"fmt"
	"github.com/brydavis/fin"
)

func main() {
	p := 1000.0 // principle
	r := 0.05   // interest rate
	y := 35     // years
	v := fin.Compound(p, r, y)

	fmt.Printf("original principle: $%0.2f\tbalance @ %d years: $%0.2f\n", p, y, v) // 5516.015368
}

Related Repositories

fin-hypergrid

fin-hypergrid

A canvas-based super high performant grid view API ...

fin

fin

Realtime data layer for web applications ...

fin

fin

Simple plugin manager for fish ...

fin

fin

...

fin

fin

The command line personal finances manager ...