[TYPO3] Math in TypoScript
Bertalan Fodor
berfod at organum.hu
Thu Feb 22 15:50:56 CET 2007
I have read this place more times. I still don't understand how this
relates to my problem. It states the following:
"Sometimes a datatype is set to "something +calc". "+calc" indicates
that the value is calculated with "+-/*". Be aware that the operators
has no "weight". The calculation is done in the order of the operators."
So I have a constant:
x = 15
I want to have an other constant with the value x+3
How does "sometimes" "datatype is set" "+calc" come to here?
Where is the datatype? How is it set? Should I write +calc somewhere?
Thanks,
Bert
Dmitry Dulepov i'rta:
> Bertalan Fodor wrote:
>> Note I'm trying to define constants calculated from each other.
>>
>> Do you know that there is information about what I need in TSRef, or
>> do you only hope so? I have searched in TSRef for the word "calcul",
>> and have read everything. So did I try setting x2 = 13 + 5, but didn't
>> work.
>
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/3/1/#id2796759
>
>
More information about the TYPO3-english
mailing list