ColTypeNumeric: Code cleanup

This commit is contained in:
Paul Beckingham 2016-02-01 00:40:28 -05:00
parent c167fa665e
commit 73d789c593

View file

@ -80,10 +80,10 @@ void ColumnTypeNumeric::modify (Task& task, const std::string& value)
std::string label = " MODIFICATION ";
context.debug (label + _name + " <-- '" + evaluatedValue.get_string () + "' <-- '" + value + "'");
// If the result is not readily convertible to a numeric value,
// then this is an error.
// If the result is not readily convertible to a numeric value, then this is
// an error.
if (evaluatedValue.type () == Variant::type_string)
throw format (STRING_UDA_NUMERIC, evaluatedValue.get_string ());
throw format (STRING_UDA_NUMERIC, evaluatedValue.get_string ());
task.set (_name, evaluatedValue);
}