00001 #ifndef FloatJC_h_seen
00002 #define FloatJC_h_seen
00003
00004 namespace jcpp {
00005
00006
00007
00011 class FloatJC : public virtual Object {
00012
00013 private:
00014 float value;
00015
00016 public:
00017
00018
00019
00020
00021 static float valueOf0(char *s, int & NumberFormatErrJC);
00022
00023 static CFREE char *toStringWithPrecision(float value_, int precision);
00024
00025 static CFREE char *toString(float value_);
00026
00027 FloatJC(float value_);
00028
00029 FloatJC(char *s, int & NumberFormatErrJC);
00030
00031 float floatValue();
00032
00033 CFREE char *toString();
00034
00035
00036 boolean equals(Object *obj);
00037
00038 double doubleValue();
00039
00040 int intValue(int &rangeError);
00041 long longValue(int &rangeError);
00042
00043
00044 static FloatJC *valueOf(char *s, int & NumberFormatErrJC);
00045
00046 static float parseFloat(char *s, int & NumberFormatErrJC);
00047
00048 };
00049
00050 } ENDSEMI
00051 #endif // FloatJC_h_seen