Texas Instruments TI-89 Developer's Manual page 1029

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Strings
sprintf
(continued)
Description:
The following formats are unique to AMS.
(continued)
%r %R — Double argument is converted to decimal notation of the form
%y %Y — Double argument is converted according to the %f or the %e
The following modifiers are scanned in the order shown.
' '
+
-
|
#
0
AMS specific modifiers.
^ — Do not print leading 0 for values between -1 and 1, use
z — Zap trailing blanks.
Precision supported in strings
%X.Ys — X-character wide field, print at most Y characters (even if the
TI-89 / TI-92 Plus Developer Guide
[-]d.ddde[+-]ddd using engineering notation.
format depending on the system MODE settings.
— Prefix positive values with a space.
— Prefix positive values with a +.
— Left justify value in field.
— Center value in field.
— Use alternate forms as follows.
%o
— Prefix with 0.
%x %X
— Prefix with 0x and 0X respectively.
%e %E %f — Force a decimal point.
%g %G
— Force decimal point and leave trailing zeros.
— Pad with leading zeros.
LF_NEGATIVE for negation instead of minus sign '-', use
LF_EXPONENT for exponent character instead of 'e' or 'E', do not
print leading + on positive exponent values, force decimal point in
all float strings.
string is longer). If X or Y is a *, the value is taken from the
next argument.
(continued)
Not for Distribution
987
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents