Top "Type-conversion" questions

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

Convert Latitude / Longitude in Degree/Radians?

How can i convert Latitude and longitude in degree/radians? Do you guys any formula or any idea? I want …

iphone ios xcode mapkit type-conversion
WPF - converting Bitmap to ImageSource

I need to convert a System.Drawing.Bitmap into System.Windows.Media.ImageSource class in order to bind it into …

c# wpf bitmap type-conversion imagesource
Convert whole dataframe from lower case to upper case with Pandas

I have a dataframe like the one displayed below: # Create an example dataframe about a fictional army raw_data = {'regiment': […

python pandas type-conversion uppercase lowercase
How to convert uint64 to string

I am trying to print a string with a uint64 but no combination of strconv methods that I use is …

string go type-conversion strconv
"Safe" TO_NUMBER()

SELECT TO_NUMBER('*') FROM DUAL This obviously gives me an exception: ORA-01722: invalid number Is there a way …

oracle type-conversion ora-01722
C++ convert vector<int> to vector<double>

What is a good clean way to convert a std::vector<int> intVec to std::vector<double&…

c++ stl vector type-conversion
How can I convert OTF/TTF files to EOT format?

I need to use @font-face feature and my fonts are in OTF/TTF format and Microsoft browsers support only EOT …

css browser fonts type-conversion font-face
Invalid cast from 'System.Int32' to 'System.Nullable`1[[System.Int32, mscorlib]]

Type t = typeof(int?); //will get this dynamically object val = 5; //will get this dynamically object nVal = Convert.ChangeType(val, t);//…

c# .net casting type-conversion nullable
Convert Named Character Vector to data.frame

I have a named character vector returned from xmlAttrs like this: testVect <- structure(c("11.2.0.3.0", "12.89", "12.71"), .Names = c("db_version", "…

r dataframe vector type-conversion
byte + byte = int... why?

Looking at this C# code: byte x = 1; byte y = 2; byte z = x + y; // ERROR: Cannot implicitly convert type 'int' to …

c# type-conversion