15.08.2013 Views

Ektron CMS200/300 User Manual

Ektron CMS200/300 User Manual

Ektron CMS200/300 User Manual

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.

Example Field Text Example Field Formula Description<br />

Multiply by another number if<br />

checkbox is checked<br />

{X} * ( {Y} * number( {Z}<br />

='true') + number( {Z}<br />

!='true'))<br />

Using the Data Designer<br />

X is a numeric field.<br />

Y is another numeric field to multiply<br />

by X if a checkbox is checked.<br />

Z is the checkbox.<br />

For example, {X}=2 and {Y}=3<br />

if the checkbox is checked, the<br />

result is 2 * 3, which is 6<br />

If the checkbox is not checked,<br />

the result is 2<br />

Round a decimal number round({X}) Rounds the number to the nearest<br />

integer. For example, round(3.14).<br />

The result is 3.<br />

Round up a decimal number ceiling({X}) Returns the smallest integer that is<br />

greater than the number. For<br />

example, ceiling(3.14). The result<br />

is 4.<br />

For negative numbers:<br />

ceiling(-3.14) = -3<br />

Round down a decimal number floor({X}) Returns the largest integer that is not<br />

greater than the number argument. .<br />

For example, floor(3.14). The<br />

result is 3.<br />

For negative numbers:<br />

floor(-3.14) = -4<br />

Format decimal number 0.00 format-number( {X} ,'0.00') Rounds a value either up or down to<br />

the hundredth place. As examples,<br />

100 becomes 100.00, and<br />

3.14159265 becomes 3.14.<br />

Total numeric values from<br />

multiple fields<br />

sum( {X}[text()] | {Y}[text()] |<br />

{Z}[text()] ))<br />

Add the values in all referenced<br />

fields.<br />

Only elements that contain a value<br />

are summed. Empty elements are<br />

excluded.<br />

<strong>Ektron</strong> <strong>CMS200</strong>/<strong>300</strong> <strong>User</strong> <strong>Manual</strong>, Version 4.5, Revision 3 398

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

Saved successfully!

Ooh no, something went wrong!