Returns the result as a double
| 133 | |
| 134 | // Returns the result as a double |
| 135 | double AnalyzeXML::GetResultFloat(double defaultValue) const |
| 136 | { |
| 137 | if (!m_pResult || m_pResult->GetCharacterData() == NULL) |
| 138 | { |
| 139 | return defaultValue ; |
| 140 | } |
| 141 | |
| 142 | double value = 0; |
| 143 | from_c_string(value, m_pResult->GetCharacterData()) ; |
| 144 | |
| 145 | return value ; |
| 146 | } |
| 147 | |
| 148 | /************************************************************* |
| 149 | * @brief As "GetArgValue" but parsed as a boolean. |
nothing calls this directly
no test coverage detected