Subversion Repositories spk

Rev

Rev 104 | Rev 121 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 104 Rev 109
Line 31... Line 31...
31
 
31
 
32
	virtual ~String(void);
32
	virtual ~String(void);
33
 
33
 
34
	// conversion functions
34
	// conversion functions
35
	void fromLong(long l);
35
	void fromLong(long l);
36
	void fromFloat(float f);
-
 
37
	void fromFloat(float f, int dp);
36
	void fromFloat(float f, int dp = -1);
38
	void fromDouble(double f);
37
	void fromDouble(double f);
39
	void fromDouble(double f, int dp);
38
	void fromDouble(double f, int dp);
40
	const String &format(const char *sFormat, ...);
39
	const String &format(const char *sFormat, ...);
41
	const String &arg(const String &s1);
40
	const String &arg(const String &s1);
42
	const String &arg(const String &s1, const String &s2);
41
	const String &arg(const String &s1, const String &s2);
Line 46... Line 45...
46
	
45
	
47
	static String PadNumber(long iNum, int iAmount);
46
	static String PadNumber(long iNum, int iAmount);
48
	static String Number(long l) { return String(l); }
47
	static String Number(long l) { return String(l); }
49
	static String Format(const char *sFormat, ...);
48
	static String Format(const char *sFormat, ...);
50
	static String Null();
49
	static String Null();
-
 
50
	static String FromFloat(float f, int dp = -1);
51
 
51
 
52
	bool toBool() const;
52
	bool toBool() const;
53
	long toLong() const;
53
	long toLong() const;
54
	double toDouble() const;
54
	double toDouble() const;
55
	float toFloat() const;
55
	float toFloat() const;