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

From Apache OpenOffice Wiki
Jump to: navigation, search
m
Line 31: Line 31:
 
* [[Documentation/How_Tos/Calc:_TEXT_function|<div style="font-size: 120%; border-style: double; border-color:#778899;">Text]]
 
* [[Documentation/How_Tos/Calc:_TEXT_function|<div style="font-size: 120%; border-style: double; border-color:#778899;">Text]]
 
* [[Documentation/How_Tos/Calc:_TRIM_function|<div style="font-size: 120%;">Trim]]
 
* [[Documentation/How_Tos/Calc:_TRIM_function|<div style="font-size: 120%;">Trim]]
 +
* [[Documentation/How_Tos/Calc:_UNICHAR_function|<div style="font-size: 120%;">Unichar]]
 +
* [[Documentation/How_Tos/Calc:_UNICODE_function|<div style="font-size: 120%;">Unicode]]
 
* [[Documentation/How_Tos/Calc:_UPPER_function|<div style="font-size: 120%;">Upper]]
 
* [[Documentation/How_Tos/Calc:_UPPER_function|<div style="font-size: 120%;">Upper]]
 
* [[Documentation/How_Tos/Calc:_VALUE_function|<div style="font-size: 120%;">Value]]
 
* [[Documentation/How_Tos/Calc:_VALUE_function|<div style="font-size: 120%;">Value]]

Revision as of 11:30, 29 January 2024



TEXT

Converts a number into text according to a given format.

Syntax:

TEXT(number; format)

returns number converted to text, according to the format code specified by format.
Example format codes are found in the Format - Cells... dialogue, in the box labelled Format Code. These depend on your locale.
This function should therefore not be regarded as portable.

Example:

TEXT(12.34567;"###.##")

returns the text 12.35, if in your locale ###.## is a format code meaning "up to three integer digits and at most two decimal digits".



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_TEXT_function&oldid=259522"
Views
Personal tools
Navigation
Tools