Initializing help system before first use

setRealFmt Method

Sets the format for printing real numbers.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public static int setRealFmt(
	string fmt
)

Parameters

fmt
Type:  SystemString
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).
  • "%.
    num
    f"
    - 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

Type:  Int32
0 on success.
Examples
xbworkrng.cs in the Introductory Examples folder.
See Also