In a way lucky it was a DA40 and has a good glide on it.
I thought that too, until I had to look it up for some reason. But the best glide in a DA40 is 1 : 8.8. Slightly worse than an PA28-161. (All taken from the respective POHs - I haven't tested them against each other.)
Mind you, I'm very impressed with the DA40 airframe (slightly less though with the engines they originally fitted) but the glide performance isn't as stellar as you might expect by looking at the wings and knowing its sailplane heritage.