Skip to main content

format_value

Function format_value 

Source
pub fn format_value(value: &Value, spec: &str, culture: &Culture) -> String
Expand description

Formats value with a .NET-style format specifier (C2, N0, dd/MM/yyyy, #,##0.00…). An empty specifier gives the plain text.