SpreadJS Documentation
BAHTTEXT
SpreadJS Documentation > Formula Reference > Formula Functions > BAHTTEXT

This function converts the specified value to Thai text and adds a suffix "Baht" to it.

Syntax

BAHTTEXT(value)

Arguments

The argument can accept a numeric value, or a cell reference that contains a numeric value.

Data Types

Accepts numeric data. Returns string data.

Examples

BAHTTEXT(1234) gives the result หนึ่งพันสองร้อยสามสิบสี่บาทถ้วน

BAHTTEXT(C3) gives the result หนึ่งพันสองร้อยสามสิบสี่บาทถ้วน, where C3 is the cell reference that contains the value 1234