วันพุธ, มิถุนายน 06, 2550

ที่มาของฟังก์ชัน BAHTTEXT ใน Microsoft Excel...

BAHTTEXT?

If you use Excel 2002, you may have discovered the new BAHTTEXT worksheet function. This function converts a number to Thai text, and adds a suffix of "Baht." The figure below shows this function in action.

Now, I'm sure there are many people who welcome this new function. But here's why BAHTTEXT is listed in the "Oddities" section: Excel does not have a similar function to convert numbers to English text. In fact, BAHTTEXT is the only function that converts numbers to text.

A function to convert numbers to words is a common request in the Excel newsgroups. Yet, for some reason, Microsoft chose to use its development resources to create a BAHTTEXT function rather than a more generally useful NUMBERTEXT function.

So why did they choose Thai?

It's been suggested (by an anonymous Excel MVP) that the Excel programmers enjoy Thai food, and they created this function to facilitate email orders to Redmond Thai restaurants. This theory has not yet been confirmed -- but then again it hasn't been denied either.

Excel Oddities: BAHTTEXT?

.

ฮาดีครับ ถ้าเป็นจริงอย่างเขาว่าอ่ะนะ

เหมือนเป็นสิทธิพิเศษของคนไทยเลย
ที่คนเขียน excel ดันชอบกินอาหารไทย...

555... ทำไปได้...

ไม่มีความคิดเห็น:

แสดงความคิดเห็น

เชิญแสดงความคิดเห็น