--- loncom/html/adm/help/tex/all_functions_table.tex 2007/05/20 21:07:02 1.7 +++ loncom/html/adm/help/tex/all_functions_table.tex 2007/09/11 21:53:41 1.8 @@ -39,6 +39,13 @@ asinh(x), acosh(x), atanh(x) &\&asinh(\$ Not in CAPA &\&prettyprint(\$x,'nn','optional target') &Display or format \$x as nn where nn is nF or nE or nS 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. If the first character is a , it will format it with commas grouping the thousands. In S mode it will fromat the number to the specified number of significant figures and display it in F mode. 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,'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 +Not in CAPA &\parbox{6.49cm}{ +Option 1 - \$best = \&languages() \\ +Option 2 - @all = \&languages() \\ +Option 3 - \$best = \&languages($\backslash$@desired\_languages) \\ +Option 4 - @all = \&languages($\backslash$@desired\_languages) \\ +}& Returns the best language to use, in the first two options returns the languages codes in the preference order of the user. In the second two examples returns the best matches from a list of desired language possibilities. & \\ \hline roundto(x,n) &\&roundto(\$x,\$n) &Rounds a real number to n decimal points. \$x and \$n can be pure numbers &  \\ \hline