 | CSTRIFormatReal Method (CGXNETCore, Double, String, Int32, Int32, Int32) |
Convert a GX real to a string.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void IFormatReal(
CGXNETCore gxNetShared,
double real,
ref string buff,
int type,
int width,
int dec
)
public static void IFormatReal(
CGXNETCore gxNetShared,
double real,
ref string buff,
int type,
int width,
int dec
)
Public Shared Sub IFormatReal (
gxNetShared As CGXNETCore,
real As Double,
ByRef buff As String,
type As Integer,
width As Integer,
dec As Integer
)
Public Shared Sub IFormatReal (
gxNetShared As CGXNETCore,
real As Double,
ByRef buff As String,
type As Integer,
width As Integer,
dec As Integer
)
public:
static void IFormatReal(
CGXNETCore^ gxNetShared,
double real,
String^% buff,
int type,
int width,
int dec
)
public:
static void IFormatReal(
CGXNETCore^ gxNetShared,
double real,
String^% buff,
int type,
int width,
int dec
)
static member IFormatReal :
gxNetShared : CGXNETCore *
real : float *
buff : string byref *
type : int *
width : int *
dec : int -> unit
static member IFormatReal :
gxNetShared : CGXNETCore *
real : float *
buff : string byref *
type : int *
width : int *
dec : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - real
- Type: SystemDouble
Value to format - buff
- Type: SystemString
Resulting string - type
- Type: SystemInt32
<define>GS_FORMATS</define> - width
- Type: SystemInt32
Width of the field - dec
- Type: SystemInt32
Significant digits/decimals
See Also