Top "Type-conversion" questions

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

Print / display a JavaScript variable's name instead of it's value

Is it possible to print / display a JavaScript variable's name? For example: var foo=5; var bar=6; var foobar=foo+bar; …

javascript string variables type-conversion document.write
Cast the current object ($this) to a descendent class

I have a class where it may be necessary to change the object to a descendent class further down the …

php oop type-conversion downcast
How to convert signed 32-bit int to unsigned 32-bit int?

This is what I have, currently. Is there any nicer way to do this? import struct def int32_to_uint32(…

python integer unsigned signed type-conversion
Source Type 200 in SQL Server Import and Export Wizard?

I am trying to import data from one database in a server to a new table in a different server, …

sql-server type-conversion ssms-2012
C++ string to int without using atoi() or stoi()

Hi I am new to C++ and trying to do an assignment where we read a lot of data from …

c++ string int type-conversion atoi
Convert string to integer in Shopify Liquid?

I just read this related answer: How can I convert a number to a string? - Shopify Design — Ecommerce University …

type-conversion shopify liquid
Describe property object in TypeScript interface

I want to describe some interface with nested objects. How can I do it without creation of Interfaces for nested …

typescript types type-conversion webstorm typescript2.0
Is there an easier way to do boolean conversions?

I have used this scenario many times in nearly all my projects, when I'm doing some sort of data conversion, …

delphi boolean type-conversion delphi-xe2
cannot convert 'const char*' to 'LPCWSTR {aka const wchar_t*}'

I'm getting an error in my C++ code that I can't quite make sense of. The stripped down code bits …

c++ qt char type-conversion wchar-t
Operand data type varchar is invalid for sum operator - Procedure Error Correction

I am using SQL Server - 2005... ALTER Proc [dbo].[ExamResult] (@Course_Id varchar(100), @Semester varchar(10)) as begin declare @subjname varchar(100) …

asp.net sql-server-2005 stored-procedures type-conversion error-correction