How do I use a function that gives me a number with the thousands separator and no decimals?