type casting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jaya prakash baral
    New Member
    • Aug 2010
    • 2

    #1

    type casting

    intArray[recCount] = (float ) (int )rdr["TimeAllote d"];
  • jaya prakash baral
    New Member
    • Aug 2010
    • 2

    #2
    intArray[recCount] = (float ) (int )rdr["TimeAllote d"];

    Comment

    • GaryTexmo
      Recognized Expert Top Contributor
      • Jul 2009
      • 1501

      #3
      Please give more information... what exactly are you trying to do? Personally, I don't know why you'd cast to an int, then to float, only to try to stuff it into an int again... unless that is your question.

      Either way, please be more clear. State what you need and what errors you're encountering and someone will be better able to help you.

      Comment

      Working...