[ic] Problems with CALC command

Joachim Leidinger interchange-users@icdevgroup.org
Thu Apr 24 10:30:01 2003


Kent-Rune K.Sætrum wrote:
> Dear List,
> 
> My ISP have installed the last InterChange release on his server that I
> use for
> my company e-Biz setup.
> 
> I have problems with the [calc] some calculations [/calc] commands. One
> example that used to work was this calculation:
> 
> [currency convert=1] [calc][subtotal noformat=1]*0.24/1.24[/calc]
> [/currency]
> 
> This does NOT work any longer. How can I replace this code? I have tried
> to
> search, and checked all combinations, but I cant find a working one. I
> also
> need that [calc] code for other operations too.
> 
> Thanks for all help.
> 
> 
> Regards,
> 
> Kent-Rune K. Sætrum
...
What is not working? The currency tag? The calc tag? What did you get? 
I'm missing more usefull information. Make a quick test

subtotal test : [subtotal]<BR>
subtotal noformat test : [subtotal noformat=1]<BR>
calc test : [calc]10*0.24/1.24[/calc]<BR>
currency test: [currency convert=1]123.45[/currency]<BR>

and last ...all in one line (without a whitespace)

[currency convert=1][calc][subtotal noformat=1]*0.24/1.24[/calc][/currency]

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing.
[joachim@leidinger.net]
http://www.leidinger.net