<Grid>
<Cfg id='Calc3'/>
<Cols>
      <C Name='Data1' Type='Int'/>
      <C Name='Data2' Type='Int'/>
      <C Name='Tmp1' Type='Int' Formula='Data1*Data1+Data2*Data2'/>
      <C Name='Tmp2' Type='Int' Formula='Data1*Data1-Data2*Data2'/>
		<C Name='Result' Type='Float' Formula='Tmp1/Tmp2' Format='0.000'/>
</Cols>
<Def> 
	<D Name='R' CalcOrder='Tmp1,Tmp2,Result'/>
</Def>
<Body>
<B>
<I Data1='10' Data2='6'/>
<I Data1='-5' Data2='3'/>
<I Data1='0' Data2='1'/>
<I Data1='134' Data2='123'/>
</B>
</Body>
<Foot>
<I Calculated='1' Tmp1Formula='sum()' Tmp2Formula='sum()' Data1Formula='Tmp1*Tmp1+Tmp2*Tmp2' Data2Formula='Tmp1*Tmp1-Tmp2*Tmp2' ResultFormula='Data1/Data2' CalcOrder='Tmp1,Tmp2,Data1,Data2,Result'/>
</Foot>
</Grid>