BAHTTEXT function

From Apache OpenOffice Wiki
Jump to: navigation, search

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