Click or drag to resize

XPRBprobsetRealFmt Method

Set the format for printing real numbers.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public int setRealFmt(
	string fmt
)

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

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