MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / setNumber

Method setNumber

src/css/value.cpp:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void Value::setNumber(double value)
58{
59 if (m_type != Number) {
60 m_type = Number;
61 m_string = "";
62 }
63 m_number = value;
64}
65
66void Value::setString(const std::string& value)
67{

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64