Sets the format for printing real numbers.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic static int setRealFmt(
string fmt
)
Public Shared Function setRealFmt (
fmt As String
) As Integer
Parameters
- fmt String
- The format string. Possible values include:
- "%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).
- "%.f" – print real numbers in the style [-]d.d where
the number of digits after the decimal point
is equal to the given precision .
Return Value
Int320 on success.
Examplexbworkrng.cs in the Introductory Examples folder.
See Also