Click or drag to resize

CSTRIFormatR2 Method (Double, String, Int32, Int32, Int32)

Convert a GX real to a string with given decimals.

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void IFormatR2(
	double real,
	ref string buff,
	int size,
	int width,
	int sig
)

public static void IFormatR2(
	double real,
	ref string buff,
	int size,
	int width,
	int sig
)

Parameters

real
Type: SystemDouble
Value to format
buff
Type: SystemString
Resulting string
size
Type: SystemInt32
Size of the Resulting String
width
Type: SystemInt32
Width of the field
sig
Type: SystemInt32
Decimals
See Also