Number to String Conversions


String conversion functions, shown in Table 8 , change non-string data into strings. In OOo, text is stored as Unicode version 2.0 values, providing good support for multiple languages. Each String variable can hold up to 65,535 characters .

Table 8: String conversion functions.

Function

Description

Str

Convert from a number to a String with no localization.

CStr

Convert anything to a String. Numbers and dates are formatted based on locale.

Hex

Return the hexadecimal representation of a number as a String.

Oct

Return the octal representation of a number as a String.




OpenOffice.org Macros Explained
OpenOffice.org Macros Explained
ISBN: 1930919514
EAN: 2147483647
Year: 2004
Pages: 203

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net