Skip to content

Commit

Permalink
Financial functions: part 2 (#360)
Browse files Browse the repository at this point in the history
* DB, DDB
* DISC, DOLLARDE, DOLLARFR
* EFFECT
* FV
* FVSCHEDULE, INTRATE, IPMT
* IRR, ISPMT
* MIRR, NOMINAL, NPER, NPV
  • Loading branch information
zgordan-vv authored and gunnsth committed Dec 21, 2019
1 parent 64edd6c commit dc34147
Show file tree
Hide file tree
Showing 3 changed files with 1,119 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spreadsheet/cell.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (c Cell) SetNumber(v float64) {

// cell type number
c.x.TAttr = sml.ST_CellTypeN
c.x.V = unioffice.String(strconv.FormatFloat(v, 'g', -1, 64))
c.x.V = unioffice.String(strconv.FormatFloat(v, 'f', -1, 64))
}

// Column returns the cell column
Expand Down
Loading

0 comments on commit dc34147

Please sign in to comment.