An expression can be explicitly converted or cast to type T
using dynamic_cast<T>
, static_cast<T>
, reinterpret_cast<T>
, or const_cast<T>
, depending on what type of cast is intended.
C++ also supports function-style cast notation, T(expr)
, and C-style cast notation, (T)expr
.
A list of type conversion in talend with some examples.
Excel gives functions that will assist in converting from decimal to one of binary, octal and hexadecimal, and back again.