Mercurial > octave-nkf
comparison scripts/general/num2str.m @ 5053:c08cb1098afc
[project @ 2004-10-19 23:10:54 by jwe]
author | jwe |
---|---|
date | Tue, 19 Oct 2004 23:10:55 +0000 |
parents | a1073eef650c |
children | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
5052:c6ef19da4b24 | 5053:c08cb1098afc |
---|---|
23 ## @deftypefnx {Function File} {} num2str (@var{x}, @var{format}) | 23 ## @deftypefnx {Function File} {} num2str (@var{x}, @var{format}) |
24 ## Convert a number to a string. These functions are not very flexible, | 24 ## Convert a number to a string. These functions are not very flexible, |
25 ## but are provided for compatibility with @sc{Matlab}. For better control | 25 ## but are provided for compatibility with @sc{Matlab}. For better control |
26 ## over the results, use @code{sprintf} (@pxref{Formatted Output}). | 26 ## over the results, use @code{sprintf} (@pxref{Formatted Output}). |
27 ## @end deftypefn | 27 ## @end deftypefn |
28 ## | |
28 ## @seealso{sprintf and int2str} | 29 ## @seealso{sprintf and int2str} |
29 | 30 |
30 ## Author: jwe | 31 ## Author: jwe |
31 | 32 |
32 function retval = num2str (x, arg) | 33 function retval = num2str (x, arg) |