How-to articles, tricks, and solutions about MODULO

How to get the separate digits of an int number?

To get the separate digits of an integer number, you can convert the number to a string, and then use the list() function to convert the string to a list of characters.

What's the syntax for mod in java

The syntax for mod in Java is the percent sign %. For example, a % b returns the remainder of a divided by b.