Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 383 Bytes

File metadata and controls

27 lines (21 loc) · 383 Bytes
layout api-command
language Python
permalink api/python/mod/
command %
related_commands
+ - * /
add/
sub/
mul/
div/

Command syntax

{% apibody %} number % number → number {% endapibody %}

Description

Find the remainder when dividing two numbers.

Example: It's as easy as 2 % 2 = 0.

(r.expr(2) % 2).run(conn)