h6. [[OS SWI Calls]] h6(. » OS_ConvertSpacedCardinal3 h2. OS_ConvertSpacedCardinal3 h5. (SWI &E3) |_<^{width:3em}. Entry | | |<^. R0 |<^. Value to be converted | |<^. R1 |<^. Pointer to buffer for resulting string | |<^. R2 |<^. Size of buffer | |_<^{width:3em}. Exit | | |<^. R0|<^. Pointer to buffer (R1 on entry) | |<^. R1 |<^. Pointer to terminator | |<^. R2 |<^. Free bytes in buffer | h4. Use The purpose of this call is to convert a value into an unsigned string of decimal characters. h4. Notes The output can be a value from 0 to 16,777,215 (10 characters). Commas are not output. The string is not padded with zeros, so is of variable length. Every three digits from the right, a space is inserted. e.g. 16 777 215 h4. See also * [[OS_ConvertSpacedCardinal1]] * [[OS_ConvertSpacedCardinal2]] * [[OS_ConvertSpacedCardinal4]]