For
Catalog >
For
Var
,
Low
,
High
[
,
Step
]
Block
EndFor
Executes the statements in
Block
iteratively for each value of
Var
, from
Low
to
High
, in increments of
Step
.
Var
must not be a system variable.
Step
can be positive or negative. The
default value is 1.
Block
can be either a single statement or a
series of statements separated with the “:”
character.
Note for entering the example:
For
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
format()
Catalog >
format(
Expr
[
, formatString
]
)
⇒
string
Returns
Expr
as a character string based on
the format template.
Expr
must simplify to a number.
formatString
is a string and must be in the
form: “F[n]”, “S[n]”, “E[n]”, “G[n][c]”,
where [ ] indicate optional portions.
F[n]: Fixed format. n is the number of digits
to display after the decimal point.
S[n]: Scientific format. n is the number of
digits to display after the decimal point.
E[n]: Engineering format. n is the number
of digits after the first significant digit. The
exponent is adjusted to a multiple of three,
and the decimal point is moved to the right
by zero, one, or two digits.
Alphabetical Listing
75
Содержание TI-Nspire CAS
Страница 4: ...4 Service and Warranty Information 249 Index 251 ...
Страница 248: ...248 ...
Страница 250: ...250 ...