EasyManua.ls Logo

Texas Instruments TI-89

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A: System Routines — Strings
987
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
sprintf
(continued)
Description: The following formats are unique to AMS.
(continued)
%r %R Double argument is converted to decimal notation of the form
[-]d.ddde[+-]ddd using engineering notation.
%y %Y Double argument is converted according to the %f or the %e
format depending on the system MODE settings.
The following modifiers are scanned in the order shown.
' ' 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.
0 Pad with leading zeros.
AMS specific modifiers.
^ Do not print leading 0 for values between -1 and 1, use
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.
z Zap trailing blanks.
Precision supported in strings
%X.Ys X-character wide field, print at most Y characters (even if the
string is longer). If X or Y is a *, the value is taken from the
next argument.
(continued)

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals