summaryrefslogtreecommitdiff
path: root/src/common/conversion.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/conversion.hpp')
-rw-r--r--src/common/conversion.hpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/common/conversion.hpp b/src/common/conversion.hpp
deleted file mode 100644
index e87adc5..0000000
--- a/src/common/conversion.hpp
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#include "common/memory/unique_ptr.hpp"
-#include "common/string.hpp"
-
-namespace common
-{
-
-/**
- * Converts a double number to a string.
- *
- * @param num A double number
- * @param width The desired double width
- * @param precision The desired double precision
- * @returns The double as a string.
- */
-common::UniquePtr<common::String> doubleToStr(double num, unsigned int width = 3,
- unsigned int precision = 2);
-
-/**
- * Converts a integer to a string.
- *
- * @param num A number
- * @returns The number as a string.
- */
-common::UniquePtr<common::String> intToStr(int num);
-
-/**
- * Converts a unsigned integer to a string.
- *
- * @param num A number
- * @returns The number as a string.
- */
-common::UniquePtr<common::String> uintToStr(unsigned int num);
-
-} // namespace common