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: 2025/09/30 17:26 (12 days ago) (external edit)