arithmetic_operators_math_package
v1.0.0
Published
Арифметические операторы — это основные операторы, которые мы используем для различных математических операций, например таких, как сложение или вычитание:
Downloads
6
Readme
Арифметические операторы
Арифметические операторы — это основные операторы, которые мы используем для различных математических операций, например таких, как сложение или вычитание:
plus - Объединение чисел в одно целое. x + y // Пример (6, 4) будет 10 minus - Вычитает правое число от левого. x - y // Пример (6, 4) будет 2 mult - Умножает два числа вместе. x * y // Пример (6, 4) будет 24 division - Делит левое число на правое. // Пример (8, 2) будет 4 takingRemainder - Возвращает значение остатка при делении первого числа на второе. Результат будет иметь тот же знак, что и первое число. // 11 % 3 = 2 (поскольку число 3 вмещается три раза, остатком будет число 2) exponentiation - Возводит базовое число в указанную степень, то есть количество базовых чисел, указанных экспонентой, умножается вместе. // 5 ** 5 (возвращает 3125, или как: 55555)