From a119e6ca70ffab14f0a70908fa3eeb83b41bb5ab Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 14 Mar 2022 10:24:36 +0100 Subject: refactor: rename std to common --- src/std/conversion.hpp | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/std/conversion.hpp (limited to 'src/std/conversion.hpp') diff --git a/src/std/conversion.hpp b/src/std/conversion.hpp deleted file mode 100644 index 726ce88..0000000 --- a/src/std/conversion.hpp +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#include "std/memory.hpp" -#include "std/smart_string.hpp" - -/** - * 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. - */ -UniquePtr 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. - */ -UniquePtr intToStr(int num); - -/** - * Converts a unsigned integer to a string. - * - * @param num A number - * @returns The number as a string. - */ -UniquePtr uintToStr(unsigned int num); -- cgit v1.2.3-18-g5258