Mercurial > octave-nkf
comparison scripts/strings/dec2base.m @ 5642:2618a0750ae6
[project @ 2006-03-06 21:26:48 by jwe]
author | jwe |
---|---|
date | Mon, 06 Mar 2006 21:26:54 +0000 |
parents | ec8c33dcd1bf |
children | 34f96dd5441b |
comparison
equal
deleted
inserted
replaced
5641:eb998631a4aa | 5642:2618a0750ae6 |
---|---|
39 ## @result{} "eeeia" | 39 ## @result{} "eeeia" |
40 ## @end example | 40 ## @end example |
41 ## | 41 ## |
42 ## The optional third argument, @var{len}, specifies the minimum | 42 ## The optional third argument, @var{len}, specifies the minimum |
43 ## number of digits in the result. | 43 ## number of digits in the result. |
44 ## @seealso{base2dec, dec2bin, bin2dec, hex2dec, dec2hex} | |
44 ## @end deftypefn | 45 ## @end deftypefn |
45 ## | |
46 ## @seealso{base2dec, dec2bin, bin2dec, hex2dec, dec2hex} | |
47 | 46 |
48 ## Author: Daniel Calvelo <dcalvelo@yahoo.com> | 47 ## Author: Daniel Calvelo <dcalvelo@yahoo.com> |
49 ## Adapted-by: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> | 48 ## Adapted-by: Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
50 | 49 |
51 function retval = dec2base (n, base, len) | 50 function retval = dec2base (n, base, len) |