MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / writeNumber

Method writeNumber

MonaCore/sources/XMLRPCWriter.cpp:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void XMLRPCWriter::writeNumber(double value) {
76 if (round(value) == value && value <= numeric_limits<int>::max() && value >= numeric_limits<int>::min())
77 return writeInt((int)value);
78 String::Append(beginValue("double"), value);
79 endValue("double");
80}
81
82
83UInt64 XMLRPCWriter::writeDate(const Date& date) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected