Feedback

IsPositivNummeric

Sprache: VB

-nicht nötig-
Public Shared Function IsPositivNummeric(ByVal value As String) As Boolean
        If Microsoft.VisualBasic.IsNumeric(value) Then
            If value > 0 Then
                Return True
            End If
        End If
    End Function
Public Shared Function IsPositivNummeric(ByVal value As String) As Boolean
        If Microsoft.VisualBasic.IsNumeric(value) Then
            If value > 0 Then
                Return True
            End If
        End If
    End Function

1 Kommentar

  1. kleiner Tipp
    [code]
    Dim i As String = „nö“
    If IsNumeric(i) Then
    MessageBox.Show(„jop“)
    Else
    MessageBox.Show(„nö“)
    End If
    [/code]
    Dann steigt die Bewertung 😉