Top "Type-conversion" questions

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

Type conversion in VHDL: real to integer - Is the rounding mode specified?

While debugging the handling of user defined physical types in Vivado (read more), I found a different behavior for type …

type-conversion vhdl xilinx xilinx-ise vivado
Convert Byte Array to Charsequence in Android

I have used the below code to convert Charsequence to Byte Array. Then I save the Byte Array as Blob …

java android type-conversion charsequence
"Invalid use of Null" when using Str() with a Null Recordset field, but Str(Null) works fine

I'm banging my head against the wall on this one. I was looking at some old database reporting code written …

vb6 type-conversion adodb
How can I convert byte[] to BitmapImage?

I have a byte[] that represents the raw data of an image. I would like to convert it to a …

wpf image type-conversion bitmapimage
What is Python's coerce() used for?

What are common uses for Python's built-in coerce function? I can see applying it if I do not know the …

python type-conversion python-2.x built-in
make switch use === comparison not == comparison In PHP

Is there anyway to make it so that the following code still uses a switch and returns b not a? …

php type-conversion
Dynamic cast to generic type

Just a quickie before the weekend rolls in... I have a Method with the following signature, that I need to …

c# generics dynamic type-conversion castle-dynamicproxy
SOQL Type conversion (SalesForce.com)

The problem is that I need to compare two fields of different types in a SOQL query. TextField is a …

type-conversion salesforce soql
ASP.NET 5 (Core): How to store objects in session-cache (ISession)?

I am writing an ASP.NET 5 MVC 6 (Core) application. Now I came to a point where I need to store (…

c# type-conversion bytearray asp.net-core session-state