DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
java Convert a string IPv4 IP address to the equivalent long numeric value.
result += (Integer.parseInt(ipAddressInArray[i]) % 256 * Math.pow(256, power)); Copied!
Source by mkyong.com #
PREVIOUS
NEXT
Tagged:
#java
#Convert
#string
#IP
#address
#equivalent
#long
#numeric
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit