Changeset 848 for code/branches/core/src/util/String.h
- Timestamp:
- Mar 5, 2008, 1:29:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/util/String.h
r792 r848 63 63 float f = 3.14; 64 64 std::string output; 65 bool success = Convert::ToString( output, f);65 bool success = Convert::ToString(&output, f); 66 66 */ 67 67 template <typename T> … … 88 88 float f = 3.14; 89 89 std::string output; 90 bool success = Convert::ToString( output, f, "0.000000");90 bool success = Convert::ToString(&output, f, "0.000000"); 91 91 */ 92 92 template <typename T> … … 109 109 std::string input = "3.14"; 110 110 float f; 111 bool success = string2Number( f, input);111 bool success = string2Number(&f, input); 112 112 */ 113 113 template <typename T> … … 131 131 std::string input = "3.14"; 132 132 float f; 133 bool success = string2Number( f, input, 0.000000);133 bool success = string2Number(&f, input, 0.000000); 134 134 */ 135 135 template <typename T>
Note: See TracChangeset
for help on using the changeset viewer.