Skip to main content

format_memory

Function format_memory 

Source
pub fn format_memory(memory_mb: f64) -> String
Expand description

Format memory in MB to a human-readable string with adaptive units.

Examples: “512KB”, “6.0MB”, “3.0GB”