TEXT

Converts a value into text according to a given format.

구문

TEXT(Value; Format)

Value is the value (numerical or textual) to be converted.

서식은 서식을 지정하는 텍스트입니다. 셀 서식에 설정된 언어에 따라 소수 및 천단위 구분 기호를 사용합니다.

예제

=TEXT(12.34567;"###.##")는 텍스트 12.35를 반환합니다.

=TEXT(12.34567;"000.00")는 텍스트 012.35를 반환합니다.

=TEXT("xyz";"=== @ ===") returns the text === xyz ===

tip

See also Number format codes: custom format codes defined by the user.