|
use system decimal point defines the decimal separator. If TRUE (default), the decimal separator uses the localized decimal separator. If FALSE, the decimal separator is a period.
|
|
number can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
|
|
width must be numeric. If unwired, the function uses exactly as many digits as are needed to represent the number, with no extra padding.
|
|
precision must be numeric. The function rounds the number of digits after the decimal point of the output string to precision.
|
|
E-format string is the resulting string. The following table shows how the values of number, width, and precision affect E-format string. In this table, the underline character ( _ ) represents a space in E-format string.
number | width | precision | E-format string | Comments |
4.911 | 5 | 2 | 4.91e0 | number is rounded, width is extended. |
.003926 | 10 | 2 | _ _ _3.93e–3 | number is rounded, padded with spaces on the left. |
216.01 | 5 | 0 | _ _2e2 | number is rounded, padded with spaces on the left. |
|