File: divzero.dat

package info (click to toggle)
ledger 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,964 kB
  • sloc: cpp: 39,393; python: 4,476; perl: 1,309; sh: 477; lisp: 435; yacc: 103; makefile: 58
file content (11 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
; -*- ledger -*-
; Time-stamp: <2011-11-22 13:59 (cpearls)>

;  this journal file will cause a divide by zero error.  The divide by
;  zero goes away if you add a significant figure to any of the last
;  divisors in either transaction ( "10.74" -> "10.740" )

2011/04/05 * VSGBX Dividend
    Assets:Investments:401K:Matching    ( (1.0/3.0)*0.11/10.74 VSGBX) ; 0.003414
    Assets:Investments:401K:Deferred    ( (2.0/3.0)*0.11/10.74 VSGBX) ; 0.006828
    Income:Exempt:Dividends                $-0.11