Don't you use the manual that comes with SED?

here is an extract for printf...

Code:

printf(char* format, ....)

LC  

Open a message box and displays text or variables in lite-C Pure Mode. 
Unlike most other functions, this one accepts a variable number of char*, int, or double arguments (no var or float). 
If arguments follow the format string, the format string must contain specifications that determine the output format for the arguments. 
The output string must not exceed 256 characters. See a C documentation or Digits for C-style format strings.
 
Parameters:
format - Format string. 

Speed:
Fast 

Example:
var my_var = 123.456;
...
printf("my_var: %.3f",(double)my_var);

See also:
diag, Digits


Last edited by DJBMASTER; 08/15/08 00:34.