Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Visual Basic 6 query

Posted on 2013-11-11
2
Medium Priority
?
414 Views
Last Modified: 2013-11-11
Hi Experts
Can someone please explain what does 0# mean in VB6.

Here is an example of its usage-

Dim f()                 As Single
    Dim m()                 As Single
    Dim i                   As Integer
    Dim j                   As Integer
    Dim K                   As Integer
    Dim C                   As Integer
    Dim ct                  As Integer
    Dim iCount              As Integer
    Dim xCount              As Long
    Dim bCompInvalid        As Boolean
    Dim iSum                As Integer
    Dim iNewRow             As Integer
    Dim iOldRow             As Integer
    Dim iHoldNeg            As Integer
    Dim dFact               As Double
    Dim dHoldVal            As Double
    Dim dTotal              As Double
    Dim msg                 As String
    Dim rdoRs               As rdoResultset
    Dim rdoTmpRs            As rdoResultset
    Dim dAppRate            As Double
       
        ReDim f(CompNo + 1, CompNo + 3)
        ReDim m(CompNo + 1, CompNo + 3)
           
             
        If colSelectedIngredients.Count > 0 Then
            For i = 1 To CompNo + 1
                For j = 1 To CompNo + 3
                    f(i, j) = 0#
                Next j
            Next i
0
Comment
Question by:kalbal
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 39640534
it means to cast the value as a double. check http://msdn.microsoft.com/en-us/library/dzy06xhf.aspx
0
 

Author Closing Comment

by:kalbal
ID: 39640556
thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question