Click or drag to resize

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

Convert a GX real to a string with given decimals.

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

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

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
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