NumberFormat

NumberFormat

Przegląd

NumberFormat jest strukturą w Aspose.Cells FOSS dla Rust. Dziedziczy po: Default, Clone, PartialEq.

Zapewnia operacje formatowania liczb.

Ta struktura deklaruje 5 metod dla obiektów NumberFormat w programach Rust. Dostępne metody to: create_built_in_formats, get_built_in_format, get_built_in_format_id, is_built_in_format, resolve_format_code. Publiczne elementy są dostępne dla każdej aplikacji Rust po zainstalowaniu pakietu Aspose.Cells FOSS dla Rust.

Metody

SygnaturaOpis
get_built_in_format(format_id: i32) → StringPobiera powiązaną wartość.
is_built_in_format(format_code: String) → boolZwraca, czy format jest wbudowany.
get_built_in_format_id(format_code: String) → Option<i32>Zwraca powiązaną wartość.
resolve_format_code(number: i32, custom: String) → StringRozwiązuje skuteczny kod formatu na podstawie identyfikatora wbudowanego formatu i opcjonalnego kodu niestandardowego.
create_built_in_formats() → HashMap<i32, String>Tworzy mapę identyfikatorów wbudowanych formatów liczbowych Excel na kody formatów.

Zobacz także

 Polski