/*
* Adds the digit separator `sep` as many times as needed to form groups
* of `digits_per_group` digits within `str`. `str` must have enough
- * room to accomodate the new separators, that is:
+ * room to accommodate the new separators, that is:
*
* strlen(str) + (strlen(str) / digits_per_group) + 1
*