diff options
author | Steve Doiel <steved@usnr.com> | 2015-01-06 15:33:56 -0800 |
---|---|---|
committer | Steve Doiel <steved@usnr.com> | 2015-01-06 15:33:56 -0800 |
commit | 32f0a8bd3a5c9f3c454164f4d23289851b0de3e7 (patch) | |
tree | bbd2c9c1e10e264243b2c8295feda2513cb1a15f /src/pugixml.hpp | |
parent | ff16dbdd4c63fa46cc1f38eda4cfb66f38047657 (diff) |
Add xml_text::set for float
Make float/double round-trip
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r-- | src/pugixml.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 917ef4a..8a332e1 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -693,6 +693,7 @@ namespace pugi // Set text with type conversion (numbers are converted to strings, boolean is converted to "true"/"false") bool set(int rhs); bool set(unsigned int rhs); + bool set(float rhs); bool set(double rhs); bool set(bool rhs); |