Skip to main content

group_thousands

Function group_thousands 

Source
pub fn group_thousands(n: i64) -> String
Expand description

Groups an integer into thousands with commas (28204842,820,484) for human-facing counts (corpus document totals, fleet throughput) that can reach millions. Agents get the raw number; only the rendered HTML is grouped.