[TYPO3-english] prioriCalc: Problem with wrong calculation

Raphael Weber mailinglisten at screensolutions.de
Thu Mar 19 11:18:19 CET 2015


Hi,

I'm really stumped about this calculation result of TypoScript (StdWrap/ 
prioriCalc):

30 = TEXT
         30 {
             stdWrap.dataWrap = 
({GP:formhandler|val_1}+{GP:formhandler|val_2}+{GP:formhandler|val_3}+{GP:formhandler|val_4}+{GP:formhandler|val_5}+{GP:formhandler|val_6}) 
* 19.9 + 12.9 + 23.8
             prioriCalc = decimal
	}
}

The result of (GP:vars ....) * x + y is correct, as expected. Instead of 
the last value z (here: 23.8) TS seems to sum 0.02, no matter, if the 
given value is "23.8" or "5".
What´s going wrong here?!?! Any ideas?

regards,
	raphael



More information about the TYPO3-english mailing list