NumberFormat
개요
NumberFormat은(는) Rust용 Aspose.Cells FOSS의 구조체입니다. 상속 대상: Default, Clone, PartialEq.
숫자 형식 연산을 제공합니다.
이 구조체는 Rust 프로그램에서 NumberFormat 객체를 위해 5개의 메서드를 선언합니다. 사용 가능한 메서드: create_built_in_formats, get_built_in_format, get_built_in_format_id, is_built_in_format, resolve_format_code. 공개 멤버는 Aspose.Cells FOSS for Rust 패키지를 설치한 후 모든 Rust 애플리케이션에서 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
get_built_in_format(format_id: i32) → String | 연관된 값을 가져옵니다. |
is_built_in_format(format_code: String) → bool | 내장 형식인지 여부를 반환합니다. |
get_built_in_format_id(format_code: String) → Option<i32> | 연관된 값을 가져옵니다. |
resolve_format_code(number: i32, custom: String) → String | 내장 형식 ID와 선택적 사용자 지정 코드에서 실제 형식 코드를 해결합니다. |
create_built_in_formats() → HashMap<i32, String> | 내장 Excel 숫자 형식 ID를 형식 코드로 매핑하는 맵을 생성합니다. |