Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Apr 2001
    Location
    Warrington, Cheshire
    Posts
    355
    Thanks
    3
    Thanked 0 Times in 0 Posts

    math.round narrowing conversion (.aspx pages)

    I am seeing an error which occurs on one selection but not on another but is confusing me with the error dialogue.
    Based on hyperlinked column I return another page and sum the values of a couple of the fields.
    The math for this is:
    Dim objSumYTD4 As Object = Math.Round(myTable4.Compute("Sum(Ysales)", ""), 0)

    The error returned is:
    No accessible overloaded 'Math.Round' can be called without a narrowing conversion

    Anyone else experienced this error?

    TIA
    Alan

  2. #2
    3 Star Lounger
    Join Date
    Apr 2001
    Location
    Warrington, Cheshire
    Posts
    355
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: math.round narrowing conversion (.aspx pages)

    Apologies due.....
    The query returns no line values whatsoever so I was trying to math.round....nothing

    But I still say the error dialogue could have been better.

    Cheers
    Alan

Posting Permissions

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