Jump to content

Recommended Posts

Posted

I'm using _GUICtrlListView_GetItemText to retrieve text that could sometimes contain a decimal point, so I'm using isfloat to verify the number for the next part of the function, but it is rejecting it.

$sValue = _GUICtrlListView_GetItemText ( $cLV_1, $sListV_Index, $sU_Col)

        ;If the item is not a digit then set a 0 entry and continue
        If $sU_Col <> 0 And Not StringIsFloat($sValue) Then
            ConsoleWrite("! Detected string is not a digit! " & $sValue & " - column " & $sU_Col)
            _GUICtrlListView_SetItemText ( $cLV_1, $sListV_Index, 0, $sU_Col )
        EndIf

 Any idea?

Posted

Hello, Add a code that where we can reproduce the issue. You topic makes no sense. 

 

Saludos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...