zoukankan      html  css  js  c++  java
  • 验证整数

    Function IsInt(str)

        If IsNumeric(str) or  (len(str)>5) then

            IsInt=False

            Exit Function

        Else

            If (len(str)<5) then

                IsInt=True

                Exit Function

            Else

                If CInt(left(str,4))>3276 then

                    IsInt=False

                    Exit Function

                Else

                    If CInt(Left(str,4))=3276 and CInt(Right(str,1))>7 then

                        IsInt=False

                        Exit Function

                    Else

                        IsInt=True

                    End If

                End If    

            End If

        End If

    End Function

  • 相关阅读:
    Docker 镜像
    Docker 安装命令
    Docker 基本概念
    Redis 高可用之"持久化"
    Git 安装和使用
    oracle角色
    oracle权限
    审计
    手动创建数据库
    oracle口令文件认证
  • 原文地址:https://www.cnblogs.com/djcsch2001/p/2035762.html
Copyright © 2011-2022 走看看