Note: expr performs integer division, so it discards the remainder. Usage Tips
If you intended to perform an arithmetic operation between these two large integers, here are the results for the most common operators: expr 937808300 + 932955077 Result: 1,870,763,377 Subtraction ( - ): expr 937808300 - 932955077 Result: 4,853,223 Multiplication ( \* ): expr 937808300 \* 932955077 Result: 874,933,014,737,739,100 expr 937808300 932955077
print(937808300 + 932955077) print(937808300 - 932955077) print(937808300 * 932955077) print(937808300 / 932955077) Use code with caution. Copied to clipboard Note: expr performs integer division, so it discards
Note: In most shells, the asterisk must be escaped with a backslash to prevent it from being interpreted as a wildcard. expr 937808300 / 932955077 Result: 1 expr 937808300 / 932955077 Result: 1 The command
The command expr 937808300 932955077 is an incomplete instruction for the , which is used to evaluate expressions in a terminal environment. Functionality
In modern scripting (like Bash), it is often more efficient to use Arithmetic Expansion —for example: $((937808300 + 932955077)) .