todo added
This commit is contained in:
parent
61548888b9
commit
0107ee0e4f
2
usql.cpp
2
usql.cpp
|
|
@ -304,7 +304,7 @@ std::unique_ptr<ValueNode> USql::pp_function(const std::vector<std::unique_ptr<V
|
||||||
|
|
||||||
if (parsed_value->node_type == NodeType::int_value || parsed_value->node_type == NodeType::float_value) {
|
if (parsed_value->node_type == NodeType::int_value || parsed_value->node_type == NodeType::float_value) {
|
||||||
std::string format = evaluatedPars.size() > 1 ? evaluatedPars[1]->getStringValue() : "";
|
std::string format = evaluatedPars.size() > 1 ? evaluatedPars[1]->getStringValue() : "";
|
||||||
char buf[16] {0};
|
char buf[20] {0}; // TODO constant here
|
||||||
double value = parsed_value->getDoubleValue();
|
double value = parsed_value->getDoubleValue();
|
||||||
|
|
||||||
if (format == "100%")
|
if (format == "100%")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue