Results 1 to 2 of 2

Thread: What is the purpose of converting data type?

  1. #1
    Join Date
    Jul 2010
    Posts
    1

    What is the purpose of converting data type?

    I'm having trouble understanding data type. I believe the purpose is to allow other programs to recognize the various data type within programs, however, I can't seem to find the "concrete wording" as to the purpose of converting data types. Additionally, in regards to explicit and implicit type conversion, my understanding is that in implicit data type, the program makes the decision for you as the format, while in explicit data type, allows the programmer makes the decision.

    Any help will be appreciated,

    Thanks in advance,
    Snapper

  2. #2
    Join Date
    May 2008
    Posts
    2,012
    You are right with the meaning of the implicit and the explicit data type conversion. The purpose of converting data type is that you can use the same variable for multiple purposes. It also avoids the purpose of declaring different variables for different data types. Moreover, using the conversion method increases the speed of the program as well as reduces the work of the programmer.

Similar Threads

  1. Data type and expressions
    By cloud101 in forum Software Development
    Replies: 1
    Last Post: 18-01-2012, 11:47 PM
  2. Temporal Data Type In SQL
    By Amaresh in forum Software Development
    Replies: 5
    Last Post: 02-02-2010, 08:49 PM
  3. DWORD data type in c
    By Zoey in forum Software Development
    Replies: 3
    Last Post: 24-08-2009, 06:33 PM
  4. Replies: 3
    Last Post: 11-06-2009, 10:23 AM
  5. When to create User Defined Data Type in VB.Net
    By Nihar Khan in forum Software Development
    Replies: 3
    Last Post: 27-02-2009, 11:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,202,690.02734 seconds with 17 queries