Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

getting the last value of an integer in java

int lastDigit = number % 10
 
PREVIOUS NEXT
Tagged: #integer #java
ADD COMMENT
Topic
Name
5+1 =