pub fn number(ctx: &Context, value: f64, decimals: usize) -> StringExpand description
A number in the interface’s language, with exactly decimals digits
after the separator (slider values, readouts):
Strings::number, else as Rust writes it.
assert_eq!(egui_pop_core::strings::number(&egui::Context::default(), 1234.5, 2), "1234.50");