Reorganized Edge::getDecimalNumberFromString().