check value is number in cmd
echo off &echo.&echo off
set /p pilih=silahkan masukan adb port ? &
echo off &echo.&echo off
SET /a param="%pilih%" + 0
if not %param% == 0 echo hello wordl
pause#!/bin/bash
var=a
if [ -n "$var" ] && [ "$var" -eq "$var" ] 2>/dev/null; then
echo number
else
echo not a number
fi
Also in C++:
- Installation failed: Download failed. Destination directory for file streaming does not exist or is not writable.
- git pull a specific sha
- installing mysql on aws using putty terminal
- switching git branch in gitbash
- openssl ubuntu random string generator
- uninstall r from mac
- xstate install
- git how to undo a pushed commit
- sum decimals bash
- server 2012r2 powershell unable to download from URI
- update gitcmd
- chmod
- ubuntu 20 lts install node 10
- mongodb restart command ubuntu
- install docker-compose coreos
- ubuntu 19.10 eoan update error
- linux make a copy of a folder in another foldedr
- git add file to last commit
- how to search for a word in files in linux
- rename github repository command line
- how to update mongodb in ubuntu 18.04
- install tensorflow from source ubuntu 18.04
- automator save pdf to downloads
- Installing Apache Tomcat on MacOS Mojave using Homebrew