1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #include "base/number.hpp"
4 #include "base/convert.hpp"
5 #include "base/function.hpp"
6 #include "base/functionwrapper.hpp"
7 #include "base/scriptframe.hpp"
9 using namespace icinga;
11 static String NumberToString()
13 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
17 Object::Ptr Number::GetPrototype()
19 static Dictionary::Ptr prototype = new Dictionary({
20 { "to_string", new Function("Number#to_string", NumberToString, {}, true) }