XPRBprobsetRealFmt Method |
Set the format for printing real numbers.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic int setRealFmt(
string fmt
)
Public Function setRealFmt (
fmt As String
) As Integer
Parameters
- fmt String
- The format string (as used by the C function printf). Simple format
strings are of the form %n where n may be, for instance, one of:
- g – Default printing format (precision: 6 digits; exponential notation if
the exponent resulting from the conversion is less than -4 or greater
than or equal to the precision).
- .numf – Print real numbers in the style [-]d.d where the number of digits after
the decimal point is equal to the given precision num.
Return Value
Int320 on success, 1 otherwise.
Examplexbworkrng.cs in the Introductory Examples folder.
See Also