01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PROPERSPACE(text)<br />

Inserts blank spaces in a WikiWord.<br />

Example: %CALC{"$PROPERSPACE(WebHome)"}%<br />

Result: Web Home<br />

ROUND(number, decimal places)<br />

Rounds off floating-point number to <strong>the</strong> number of decimal points<br />

indicated.<br />

Example: %CALC{"$ROUND(2.323256, 2)"}%<br />

Result: 2.32<br />

SUM(list)<br />

Sum of a list.<br />

Example: %CALC{"$SUM(R2:C2..R4:C2)"}%<br />

Result: -5500<br />

T(cell reference)<br />

Returns <strong>the</strong> cell content.<br />

Example: %CALC{"$T(R1:C2)"}%<br />

Result: Content<br />

TODAY()<br />

Returns <strong>the</strong> current date (server time).<br />

Example: %CALC{"$TODAY()"}%<br />

Result: current date<br />

UPPER(text)<br />

Transforms text to upper case.<br />

Example: %CALC{"$UPPER(Mammoth)"}%<br />

Result: MAMMOTH<br />

You can naturally also define default settings in <strong>the</strong> Spreadsheet<br />

plugin as well. Here are <strong>the</strong> variables you will need:<br />

Variable Significance<br />

%SKIPINCLUDE% In integrated pages, <strong>the</strong> %CALC% variable is<br />

not processed.<br />

Example: Set SKIPINCLUDE=1<br />

%DONTSPACE% Indicated pages are excluded from <strong>the</strong><br />

PROPERSPACE function.<br />

Example: Set DONTSPACE=WikiWord<br />

19.7 Planning Costs and Financing with Tables<br />

(Spreadsheet Plugin)<br />

Default settings<br />

Tab. 19.6<br />

�<br />

�<br />

�<br />

303

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!