Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
57
void Value::setNumber(double value)
58
{
59
if (m_type != Number) {
60
m_type = Number;
61
m_string =
""
;
62
}
63
m_number = value;
64
}
65
66
void Value::setString(const std::string& value)
67
{
Callers
1
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64