Forums > MaxMSP

sprintf.help

September 25, 2006 | 7:21 pm

hi, please consider adding this to the sprintf help file, this is importent info
\\\\\\\\\\\\
%ld or % d Replace with an int and display as decimal. (Floats are
truncated.)
%x or % X Replace with an int and display as hexadecimal.
%o Replace with an int and display as octal. (There’s one you don’t see
much any more!)
%u Replace with an int and display unsigned. (In theory, this should
let you display numbers larger than 2874836647, but it doesn’t.)
%f Replace with a float. The format %.2f will round the float to 2
decimal places.
%s Replace with a symbol. The format %.2s will show the first 2
letters of the symbol.
%c Replace with character
\\\\\\\\\\\\

http://www.cycling74.com/forums/index.php?t=msg&goto=21733&rid=0&S=5d0f48edf43618449837f67185abeefb


Viewing 1 post (of 1 total)