From Yahoo ( so....I can't vouch for the reliability)
At 0h UT (Greenwich time) on 2nd January 2009, Voyager 1 was 108.547628513 AU from the Sun. This is 16,238,494,019 km or 10,090,132,389 miles.
Also.....
From, Quora......as of Dec 1, 2017 .....Voyager 2 was traveling at about 34,390 mph= 55,345 km per hour.....it was slightly decelerating all the time
Asuuming that the rate of deceleration is negligible.....there were 11,459 days between its launch date of 8/20/77 and 01/02/2009
This is 275,016 hrs
So....from the Earth the (rough) distance traveled (in meters) =
275,016 hrs * (55,345 * 1000)m = 15,220,760,520,000 m
And the distance from the Earth to the Sun (on average) is ≈ 149,668,992,000 m
So.....on Jan 2,2009......Voyager 2 was about 15,370,429,512,000 m from the Sun