switch (static_cast<int>(dValue)) ?