Initializing help system before first use

setRealFmt Method

Set the format for printing real numbers.

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

Parameters

fmt
Type:  SystemString
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

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