Using sprintf
reverted 3 points
Merge pull request #1292 from ruimalheiro/usesprintf

Using sprintf