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



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!