[TYPO3-dev] Math in TS
Xavier Perseguers
typo3 at perseguers.ch
Thu Jan 29 15:27:40 CET 2009
Hi,
> I'm trying to make a small calcul in TS, but I can't get it...
Never tried to do this but...
> I try using prioriCalc
> ____________________________________
> value = ({field:resultnumber}-1)
> insertData = 1
> prioriCalc = 1
> ____________________________________
> Result -1 :( no matter what is the value of field:resultnumber
>
> Is it because field:resultnumber is not an integer ?
> If so, how to convert it in an integer ?
examples on the net seems to use "prioriCalc = intval" instead of "1".
HTH
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-dev
mailing list