MCPcopy Create free account
hub / github.com/asmuth/clip / format_integer

Function format_integer

src/format.cc:228–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228Formatter format_integer() {
229 return [] (size_t idx, const std::string& vs) -> std::string {
230 auto v = value_to_float(vs);
231 return std::to_string(int(v));
232 };
233}
234
235ReturnCode format_configure_integer(
236 const Expr* expr,

Callers 1

format_configure_integerFunction · 0.85

Calls 1

value_to_floatFunction · 0.85

Tested by

no test coverage detected