Skip to main content

grouped_digits

Function grouped_digits 

Source
fn grouped_digits(whole: &str) -> String
Expand description

The digits of a whole part whose thousands are grouped by threes: “1 234” → “1234”. When the groups are not threes (“3 25”, a reference then a price), only the last group is the number.