From 7fdb721dfcd0a4e9fb37ba2123fad9cd08488f9c Mon Sep 17 00:00:00 2001 From: Victor Tereschenko Date: Thu, 5 Sep 2024 09:58:33 +0600 Subject: [PATCH] feat: ToSting utils --- snippets/Utils/ToString.mqh | 10 ++++++++++ snippets/Utils/readme.md | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 snippets/Utils/ToString.mqh create mode 100644 snippets/Utils/readme.md diff --git a/snippets/Utils/ToString.mqh b/snippets/Utils/ToString.mqh new file mode 100644 index 0000000..f2a995f --- /dev/null +++ b/snippets/Utils/ToString.mqh @@ -0,0 +1,10 @@ +// Conversion to string v1.1 + +string ToString(double value, string format) +{ + return DoubleToString(value); +} +string ToString(double value) +{ + return DoubleToString(value); +} \ No newline at end of file diff --git a/snippets/Utils/readme.md b/snippets/Utils/readme.md new file mode 100644 index 0000000..d447b27 --- /dev/null +++ b/snippets/Utils/readme.md @@ -0,0 +1,3 @@ +## ToString + +Helper functions for conversion to string \ No newline at end of file