Added 2nd parameter (ndigits) to round_to_str function