Std::to_string returns negative number as pos
hi all
I'm using to string to return variables from a server. However if the number is negative it returns positive . Eg int I = -1 returns 4......... I know the technical reason for this, so I'm just looking for a work round is there a way to tell to-string to keep the correct sign.
Sorry typos using phone!
Thanks in advance 😀
|