 | CSTRIFormatR2 Method (CGXNETCore, Double, String, 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
Syntaxpublic static void IFormatR2(
CGXNETCore gxNetShared,
double real,
ref string buff,
int width,
int sig
)
public static void IFormatR2(
CGXNETCore gxNetShared,
double real,
ref string buff,
int width,
int sig
)
Public Shared Sub IFormatR2 (
gxNetShared As CGXNETCore,
real As Double,
ByRef buff As String,
width As Integer,
sig As Integer
)
Public Shared Sub IFormatR2 (
gxNetShared As CGXNETCore,
real As Double,
ByRef buff As String,
width As Integer,
sig As Integer
)
public:
static void IFormatR2(
CGXNETCore^ gxNetShared,
double real,
String^% buff,
int width,
int sig
)
public:
static void IFormatR2(
CGXNETCore^ gxNetShared,
double real,
String^% buff,
int width,
int sig
)
static member IFormatR2 :
gxNetShared : CGXNETCore *
real : float *
buff : string byref *
width : int *
sig : int -> unit
static member IFormatR2 :
gxNetShared : CGXNETCore *
real : float *
buff : string byref *
width : int *
sig : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - real
- Type: SystemDouble
Value to format - buff
- Type: SystemString
Resulting string - width
- Type: SystemInt32
Width of the field - sig
- Type: SystemInt32
Decimals
See Also