MOD

整数の除算の余りを計算します。 除数と入力形式を設定できます。

入力: テキスト結果: テキスト

テキスト入力

ツールの設定

使用例

Basic modulo operation

入力

15 4 7

Expected answer

0 1 1
法(Modulus)
3
区切り文字
Space
Colon separated numbers

入力

25:9:14:7

Expected answer

1 1 2 3
法(Modulus)
4
区切り文字
Colon
Comma-separated numbers

入力

15,8,23,16,5

Expected answer

1 1 2 2 5
法(Modulus)
7
区切り文字
Comma
CRLF separated numbers

入力

fad0177e759784a578d51686.bin

14 bytes

ダウンロード

Expected answer

0 0 4 5
法(Modulus)
6
区切り文字
CRLF
Decimal numbers

入力

10.5 15.7 8.2

Expected answer

1.5 0.7 2.2
法(Modulus)
3
区切り文字
Space
Floating point precision

入力

10.123456789 20.987654321

Expected answer

1.123456789 2.987654321
法(Modulus)
3
区切り文字
Space
Large numbers

入力

123456789012345 987654321098765

Expected answer

123456789012345 987654321098765
法(Modulus)
1234567890123456
区切り文字
Space
Line feed separated numbers

入力

25
13
44
7

Expected answer

0 3 4 2
法(Modulus)
5
区切り文字
Line feed
Mixed with non-numeric values

入力

15 abc 4 def 7 xyz 23

Expected answer

0 1 1 2
法(Modulus)
3
区切り文字
Space
Modulus of 2 (even/odd check)

入力

1 2 3 4 5 6 7 8 9 10

Expected answer

1 0 1 0 1 0 1 0 1 0
法(Modulus)
2
区切り文字
Space

パラメーター

パラメーター既定値入力と選択肢
法(Modulus)2数値
区切り文字改行改行, 宇宙, コンマ, セミコロン, コロン, CRLF

関連ツール

算術 / 論理

操作の参考資料

元の技術文書を見る (English)