stringstream shouldn't be slower than append anyway, as it's designed especially for appends. It's not really a requirement, but it's just looks weird if you use them in Convert(), but not here