User Tools

Site Tools


en:examples:objects:number_to_string

This is an old revision of the document!


Convert a Number to a String

orxS32 score = 1234;
 
orxCHAR formattedScore[6] = {};
orxString_NPrint(formattedScore, sizeof(formattedScore) - 1, "%d", score);
en/examples/objects/number_to_string.1518586180.txt.gz · Last modified: 2018/02/14 01:29 (7 years ago) (external edit)