Results 1 to 22 of 22

Thread: VB.NET equivalent ..

Threaded View

  1. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    As far as Fix.... the framework will truncate if you cast a single of (3.5) into an integer, the .5 will drop off.

    VB Code:
    1. example:
    2.  Dim total As Integer = CType(3.2!, Integer)
    Last edited by nemaroller; Jul 30th, 2004 at 01:42 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width