There is limited documentation in HELP under Process Number Variable Calculations. If you are obtaining erroneous calculations via FFCore please author a SPAR.
I'm also interested. I have seen screenshots where calculations like this have been set in the fields directly. Example:
Not working: $FFvar1$+2*$FFvar2$ (but syntax is correct, otherwise FFC throws an error)
Working fine: $FFvar1$+$FFvar2$+$FFvar2$
This workaround works for me at the moment but is harder to read and limited.
WHERE can I find a documentation about calculation?
Here's the screenshot from a Xerox presentation:
I do not believe that a formula can be used directly in the external node parameter field.
My idea is to add to the MAX setup for a hotfolder two custom number fields (e.g., divisor and substractor -- the FFCore variables will be $FFdivisor$ and $FFsubtractor$). The MAX csv file will need values for the fields.
On the External node parameter settings add "$FFdivisor$" and "$FFsubtractor$", use these values within the external node script file to compute the value you want.
One could add addition variables (e.g., $FFsubtractionnumber$ and $FFdivisor$) via MAX. These variables then could be fed to the external node via parameters. The computation could be completed in the external node.
As I knew number variable can be calculated in FF Core 188.8.131.52, I have a pdf containing 16 pages which will be printed duplex on the printer, the first 14 pages are letters need to be mailed to our clients, the last 2 pages are mailing instructions for our mail team, that said there will be 7 mail pieces (16-2)/2. I put the formular ($FFwfdoc.pages$-2)/2 in the parameter area of the external node where I expect the sent out email to show "Mail piece: 7" but instead it shows "Mail piece: (16-2)/2", how can I perform calculation in this situation?