diff options
Diffstat (limited to 'number.h')
-rw-r--r-- | number.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -9,6 +9,16 @@ public: number() = default; /** + * \brief Return a hexadecimal string representation of this number. + */ + std::string to_hex_string() const; + + /** + * \brief Return a decimal string representation of this number. + */ + std::string to_dec_string() const; + + /** * \brief Return the result of the addition of a number and this number. * * \param n The number to add to this number. |