Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Modulo operator in Pascal?

Tags:

pascal

How can I get the leftover of dividing 2 ints?

When using Java I use the % operator, but what can I do in Pascal?

like image 532
Superzarzar Avatar asked Oct 26 '25 08:10

Superzarzar


1 Answers

Use mod operator as described here. http://www.tutorialspoint.com/pascal/pascal_operators.htm

A mod B
like image 66
jack_carver Avatar answered Oct 29 '25 06:10

jack_carver