16.02.2014 Views

Download - SoftMaker

Download - SoftMaker

Download - SoftMaker

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.

TRIM(t)<br />

TRUNC(n1;n2)<br />

UPPER(t)<br />

USER()<br />

VAL(t)<br />

Returns the text string t with all leading or trailing spaces<br />

removed – TRIM(" Text ") gives “Text”.<br />

Returns the number n1 truncated to n2 decimal places (without<br />

rounding) – TRUNC(1.2345;2) gives 1.23.<br />

Converts the string t to uppercase – UPPER("James") gives<br />

“JAMES”.<br />

Returns the user name under which you are logged in to your<br />

computer. The empty pair of parentheses after the function name<br />

must be entered.<br />

Converts the text string t to a number. The string may include<br />

non-numeric characters. In that case, TextMaker takes the first<br />

occurrence of a number within the string: VAL("3") gives 3.<br />

VAL("3 eggs") and VAL("Can I have 3 eggs and 1 roll?")<br />

likewise give 3. However, VAL("eggs") gives 0, since this string<br />

contains no number.<br />

YEAR(d) Returns the year part of a date as a number (with two places) –<br />

the formula YEAR("09/17/12") gives 12.<br />

Manual TextMaker Calculations in the text 379

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

Saved successfully!

Ooh no, something went wrong!