Because it worked perfectly, I was planning on looking in to other more appropriate options later.
What would you use to tun an int into char array? I'm guessing there is itostrf, I didn't bother checking as this worked, and it was 4am, I was grumpy and I was calling this a win.