h6. [[OS SWI Calls]] h6(. » OS_ConvertInteger3 h2. OS_ConvertInteger3 h5. (SWI &DB) |_<^{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 a signed string of decimal characters. h4. Notes The output can be a value from -8,388,608 to 8,388,607 (8 characters). The commas are not output. If the most significant bit is set (of the number bytes used), the number is taken to be negative, and a leading ‘–’ is produced. The string is not padded with zeros, so is of variable length. h4. See also * [[OS_ConvertInteger1]] * [[OS_ConvertInteger2]] * [[OS_ConvertInteger4]]