12 April 2014: The OpenOffice Wiki is not, and never was, affected by the heartbleed bug. Users' passwords are safe and wiki users do not need take any actions.

Documentation/How Tos/Calc: T function

From Apache OpenOffice Wiki
Jump to: navigation, search


T

Returns the given text, or an empty text string if the target is not text.

Syntax:

T(value)

if value is text, it is returned.
if value is a number or a logical value, an empty text string "" is returned.

Example:

T("red car")

returns red car.

T(123.4)

returns an empty text string.

ISTEXT(T(123.4))

returns TRUE.

T(NA())

returns the #N/A error. Errors are propagated.

See Also

Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_T_function&oldid=225846"
Views
Personal tools
Navigation
Print/export
Tools