16.02.2014 Views

Download - SoftMaker

Download - SoftMaker

Download - SoftMaker

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MIN(n1;n2)<br />

Returns the minimum value of the values contained in the cells<br />

of a table in a rectangular region with coordinates n1 (upper left<br />

corner) and n2 (lower right corner). The coordinates must be<br />

preceded by # signs. Example: MIN (#B2;#C5). See also the<br />

section “Table cells in calculations” beginning on page 364.<br />

MONTH(d) Returns the month part of date d (as a number) –<br />

MONTH("09/25/12") gives 9.<br />

NTOD(n) The opposite of DTON, which returns a date serial number –<br />

NTOD converts such a date serial number n back to a date.<br />

POW(n1;n2) Returns the result of raising the number n1 to the power of n2 –<br />

POW(2;8) gives 256.<br />

PROD(n1;n2)<br />

Returns the product of the values contained in the cells of a table<br />

in a rectangular region with coordinates n1 (upper left corner)<br />

and n2 (lower right corner). The coordinates must be preceded<br />

by # signs. Example: PROD (#B2;#C5). See also the section<br />

“Table cells in calculations” beginning on page 364.<br />

RIGHT(t;n) Returns the last n characters of the text string t –<br />

RIGHT("TextMaker";5) gives “Maker”.<br />

ROUND(n1;n2) Returns the number n1 rounded to n2 decimal places –<br />

ROUND(2.44;1) gives 2.4 and ROUND(2.45;1) gives 2.5.<br />

RTRIM(t) Returns text string t with any trailing space characters removed –<br />

RTRIM(" Text ") gives “ Text”.<br />

SQRT(n) Returns the square root of the number n – SQRT(4) gives 2.<br />

STR(n)<br />

Converts the number n to a text string – STR(17) would produce<br />

the string “17”.<br />

STRING(t;n) Returns a text string consisting of n repetitions of the string t –<br />

STRING("Text";3) gives “TextTextText”.<br />

SUBSTR(t;n1;n2)<br />

SUM(n1;n2)<br />

TODAY()<br />

Returns a text string consisting of n2 characters extracted from<br />

string t beginning at position n1 – SUBSTR("TextMaker";2;3)<br />

gives “ext”.<br />

Returns the sum of the values contained in the cells of a table in<br />

a rectangular region with coordinates n1 (upper left corner) and<br />

n2 (lower right corner). The coordinates must be preceded by #<br />

signs. Example: SUM (#B2;#B5). See also the section “Table<br />

cells in calculations” beginning on page 364.<br />

Returns today’s date in the form MM/DD/YY – the empty pair<br />

of parentheses following the function name must be entered.<br />

378 Calculations in the text Manual TextMaker

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

Saved successfully!

Ooh no, something went wrong!