summaryrefslogtreecommitdiffstats
path: root/test/08-numeric-cells.txt
blob: d324d0432857b6f3bdf16ad6eccc8f48366d42d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%% Test for parsing numeric cells.  A numeric cell begins with a cell name
%% followed by a ':' immediately followed by a number.
%mode init
A1:0
A2:1
A3:12.5
A4:-1.2
A5=SUM(A1:A4)
%calc
%mode result
A1=0
A2=1
A3=12.5
A4=-1.2
A5=12.3
%check
%exit