Content-Type: text/x-zim-wiki Wiki-Format: zim 0.4 Creation-Date: 2016-08-23T17:50:51+01:00 ====== remainder ====== Created Tuesday 23 August 2016 To get the remainder from a division sum, use the % character. echo (math "25 % 5") will return 3, which is the remainder. NB. This works with integers only. o get the remainder from a d The classic use of this is to check if a number is odd or even. If the remainder is 1 then the number is odd.