Difference between revisions of "Documentation/How Tos/Calc: T function"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 57: Line 57:
 
: returns the <tt>'''#N/A'''</tt> error. Errors are propagated.
 
: returns the <tt>'''#N/A'''</tt> error. Errors are propagated.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: TEXT function|TEXT]]
 
* [[Documentation/How_Tos/Calc: TEXT function|TEXT]]
 
* [[Documentation/How_Tos/Calc: N function|N]]
 
* [[Documentation/How_Tos/Calc: N function|N]]

Revision as of 07:53, 17 July 2018

CALC FUNCTIONS
< {{#switch:Previous Section Previous Section = Previous Section Next Section = Next Section Previous Page = Previous Page Next Page = Next Page }} {{#switch:Next Section Previous Section = Previous Section Next Section = Next Section Previous Page = Previous Page Next Page = Next Page }} >
< {{#switch:Previous Page Previous Section = Previous Section Next Section = Next Section Previous Page = Previous Page Next Page = Next Page }} {{#switch:Next Page Previous Section = Previous Section Next Section = Next Section Previous Page = Previous Page Next Page = Next Page }} >


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.



{{#switch:EN

| RU = Смотрите также: | UA = Дивіться також: | EN = See Also | PT = Ver também | #default = See Also }}

Personal tools