could you create a `truncate` function or something that does does the limiting to 3 decimal points? There's a bit of duplication.