File:  [LON-CAPA] / loncom / html / adm / help / tex / Numerical_Response_Format.tex
Revision 1.5: download - view: text, annotated - select for diffs
Tue Aug 27 18:51:40 2013 UTC (11 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0, HEAD
- Compromise to support display in both contextual online help, and aggregated
  in manual (PDF).
  - Identify the "section" by name, because the \ref is converted to a question
    mark icon only, and not a number in online help context.

\label{Numerical_Response_Format}
You can format the number displayed by the computer as the
answer. For instance, if the answer is one-third, the computer will display
that it computed {}``.333333333'' as the answer. If you'd like to shorten
that, you can use the \textbf{Format} field. Format strings like {}``2E''
(without the quotes) will display three significant digits in scientific
notation. Format strings like {}``2f'' will display two digits after the
decimal point. Format strings like {}``2s'' will round a number to 
2 significant digits. For a summary of numerical format statements, see the 
\texttt{num} tag item in the Output Tags section (\ref{Authoring_Output_Tags}).


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>