--- loncom/html/adm/help/tex/all_functions_table.tex 2003/06/27 14:20:01 1.2 +++ loncom/html/adm/help/tex/all_functions_table.tex 2004/02/18 23:00:20 1.3 @@ -36,9 +36,9 @@ asinh(x), acosh(x), atanh(x) &\&asinh(\$ \hline /DIS(\$x,''nn'') &\&format(\$x,'nn') &Display or format \$x as nn where nn is nF or nE and n is an integer. Also supports the first character being a \$, it thjen will format the result with a call to \&dollarformat() described below. & The difference is obvious. \\ \hline -Not in CAPA &\&prettyprint(\$x,'nn') &Display or format \$x as nn where nn is nF or nE and n is an integer. Also supports the first character being a \$, it then will format the result with a a call to \&dollarformat() described below. In E mode it will attempt to generate a pretty x10\^{}3 rather than a E3 following the number &  \\ +Not in CAPA &\&prettyprint(\$x,'nn','optional target') &Display or format \$x as nn where nn is nF or nE and n is an integer. Also supports the first character being a \$, it then will format the result with a a call to \&dollarformat() described below. In E mode it will attempt to generate a pretty x10\^{}3 rather than a E3 following the number, the 'optional target' argument is optional but can be used to force \&prettyprint to generate either 'tex' output, or 'web' output, most people do not need to specify this argument and can leave it blank. &  \\ \hline -Not in CAPA &\&dollarformat(\$x) &Reformats \$x to have a \$ (or $\backslash$\$ if in tex mode) and to have , grouping thousands. &  \\ +Not in CAPA &\&dollarformat(\$x,'optional target') &Reformats \$x to have a \$ (or $\backslash$\$ if in tex mode) and to have , grouping thousands. The 'optional target' argument is optional but can be used to force \&prettyprint to generate either 'tex' output, or 'web' output, most people do not need to specify this argument and can leave it blank. &  \\ \hline roundto(x,n) &\&roundto(\$x,\$n) &Rounds a real number to n decimal points. \$x and \$n can be pure numbers &  \\ \hline