Judging whether it is the best way

xiaoxiao2021-03-06  44

Public Static Bool IsNum (String Str)

{

For (int i = 0; i

{

IF (STR [i] <= '0' || STR [I]> = '9')

Return False;

}

Return True;

}

转载请注明原文地址:https://www.9cbs.com/read-51158.html

New Post(0)