com.esri.sde.sdk.pe
Class PeConvert

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeConvert

public final class PeConvert
extends java.lang.Object

This class provides conversion methods between doubles and strings.


Constructor Summary
PeConvert()
           
 
Method Summary
static double atod_ld(java.lang.String s)
          convert a string to a double (locale dependent)
static double atod(java.lang.String s)
          convert a string to a double (US locale)
static double atod(java.lang.String s, java.util.Locale locale)
          convert a string to a double (locale specified)
static int atoi(java.lang.String s)
          Convert a string to an integer
static java.lang.String dtoa_ld(double d)
          convert a double to a string (locale dependent)
static java.lang.String dtoa(double d)
          convert a double to a string (US locale)
static java.lang.String dtoa(double dnum, int nsigdigits, java.util.Locale locale)
          convert a double to a string (locale specified)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeConvert

public PeConvert()
Method Detail

dtoa

public static java.lang.String dtoa(double dnum,
                                    int nsigdigits,
                                    java.util.Locale locale)
convert a double to a string (locale specified)


dtoa

public static java.lang.String dtoa(double d)
convert a double to a string (US locale)


dtoa_ld

public static java.lang.String dtoa_ld(double d)
convert a double to a string (locale dependent)


atod

public static double atod(java.lang.String s,
                          java.util.Locale locale)
convert a string to a double (locale specified)


atod

public static double atod(java.lang.String s)
convert a string to a double (US locale)


atod_ld

public static double atod_ld(java.lang.String s)
convert a string to a double (locale dependent)


atoi

public static int atoi(java.lang.String s)
Convert a string to an integer