MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / toDouble

Function toDouble

source/utils/Helper.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 double toDouble(const std::string& text)
80 {
81 std::stringstream ss(text);
82 double number = 0.0;
83 ss >> number;
84 return number;
85 }
86
87 int round(double d)
88 {

Callers 12

loadGlobalGameConfigMethod · 0.85
getRoomConfigDoubleMethod · 0.85
getTrapConfigDoubleMethod · 0.85
getSpellConfigDoubleMethod · 0.85
setupDefinitionMethod · 0.85
updateMethod · 0.85
loadXPTableMethod · 0.85
loadRoomAffinityMethod · 0.85
updateMethod · 0.85
loadFromLineMethod · 0.85
cCircleAroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected