Function format_float_component
pub fn format_float_component(value: f64) -> EcoString
Expand description
Converts a float to a string representation with a precision of three decimal places. This is intended to be used as part of a larger structure containing multiple float components, such as colors.