alvarado: @CHG: the global template casting function cond_round_cast had a very short life due to the lack of ANSI C++ overloading of Visual C++. The bug Q240871 vorbids the use of the static_cast or dynamic_cast similar syntax, so that the new function is called condRoundCastTo(from,to).