BAHTTEXT function

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

BAHTTEXT

Returns Thai text, including the Thai currency names, given a number.

Syntax:

BAHTTEXT(number)

number is any number. BAHTTEXT returns a string in Thai characters, with "Baht" appended to the integer part of the number, and "Satang" appended to the decimal part of the number.

Example:

BAHTTEXT("12.65")

returns a string of Thai characters with the meaning of "Twelve Baht and sixty-five Satang".

Issues:

BAHTTEXT is not included in the ODFF international standard. It is (at least partially) implemented in Excel.




See Also

Personal tools