Top "Type-conversion" questions

Type conversion is the way of implicitly or explicitly changing an entity of one data type into another.

Converting System.Drawing.Image to System.Windows.Media.ImageSource with no result

I would like to convert Image to ImageSource in my WPF app. I use Code128 library which works properly (already …

c# wpf image type-conversion imagesource
gcc, strict-aliasing, and casting through a union

Do you have any horror stories to tell? The GCC Manual recently added a warning regarding -fstrict-aliasing and casting a …

c gcc type-conversion unions strict-aliasing
Convert const char* to const wchar_t*

I am trying to create a program with Irrlicht that loads certain things from a configuration file written in Lua, …

c++ type-conversion irrlicht
VARIANT datatype of C++ into C#

What is equivalent of the VARIANT datatype of C++ in C#? I have code in C++ which uses the VARIANT …

c# c++ type-conversion variant
Why does the assignment of a short variable to an Integer reference produce a compile time error?

I have the following code in Java : class Boxing { public static void main(String args[]) { short s = 10; Integer iRef = s; } } …

java casting type-conversion boxing
HTML to IMAGE using Python

Here is a variable html_str, it is a string that contains html tags and contents in body. I am …

python html file type-conversion file-conversion
How to convert PDF to DOCX on linux

I try to convert pdf file to word, excel and powerpoint. I already tried a lot of command like these: …

linux ubuntu type-conversion libreoffice soffice
difference between int and Integer type in groovy

I have just started learning groovy and I am reading "Groovy in Action". In this book I came across a …

groovy types type-conversion groovyshell
Convert a string into BASE62

I'm looking for the c# code to convert a string into BASE62, like this: http://www.molengo.com/base62/title/…

c# type-conversion base62
Power BI convert eight digit yyyymmdd to date using DAX

I'm trying to convert eight digit yyyymmdd to date format with DAX function. column = DATE(LEFT(TABLE[COLUMN],4),MID(TABLE[…

type-conversion powerbi dax