Results 1 to 2 of 2

Thread: In VB.NET, Error: Not able to find out decimal

  1. #1
    Davisricky is offline Senior Member
    Join Date
    Dec 2009
    Posts
    331
    Rep Power
    3

    Default In VB.NET, Error: Not able to find out decimal

    I get an error message during the work Vb.net program. I'm trying to choose one or more columns of the DBF. By doing this, I get an error message on the column, where we have decimal values are saved. Error: unable to find out the decimal coming. I think the difficulty is the value will be stored in "," to separate decimals.

  2. #2
    Garcíarobine is offline Senior Member
    Join Date
    Dec 2009
    Posts
    334
    Rep Power
    3

    Default

    I know that the implicit conversion to VB.NET. I tried to explain to you, giving the example below. In this example, one type of double and other type is integer. Double data type is set and converted to an integer type. When you run the code displays the result is an integer, in this case the value of 132 displayed instead 132.31223. Here's the code for this.

    Imports System.Console
    Module Module1

    Sub Main()
    Dim d=132.31223 as Double
    Dim i as Integer
    i=d
    WriteLine("Integer value is" & i)
    End Sub

    End Module

Similar Threads

  1. Excel topic for decimal Point
    By ThomasBarnes in forum General Software Terms
    Replies: 1
    Last Post: 07-24-2010, 12:41 PM
  2. Reject decimal numbers in Python.
    By DavisMartin in forum Programming
    Replies: 1
    Last Post: 01-19-2010, 06:12 PM
  3. Replies: 0
    Last Post: 09-29-2009, 05:39 PM
  4. Replies: 0
    Last Post: 07-09-2009, 12:45 PM
  5. Replies: 0
    Last Post: 06-11-2009, 01:36 PM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48