MOD

Calcola il resto della divisione intera con divisore e formato configurabili.

Input: TestoRisultato: Testo

Inserimento di testo

Opzioni

Esempi

Basic modulo operation

Input

15 4 7

Expected answer

0 1 1
Modulo
3
Delimitatore
Space
Colon separated numbers

Input

25:9:14:7

Expected answer

1 1 2 3
Modulo
4
Delimitatore
Colon
Comma-separated numbers

Input

15,8,23,16,5

Expected answer

1 1 2 2 5
Modulo
7
Delimitatore
Comma
CRLF separated numbers

Input

fad0177e759784a578d51686.bin

14 bytes

Scarica

Expected answer

0 0 4 5
Modulo
6
Delimitatore
CRLF
Decimal numbers

Input

10.5 15.7 8.2

Expected answer

1.5 0.7 2.2
Modulo
3
Delimitatore
Space
Floating point precision

Input

10.123456789 20.987654321

Expected answer

1.123456789 2.987654321
Modulo
3
Delimitatore
Space
Large numbers

Input

123456789012345 987654321098765

Expected answer

123456789012345 987654321098765
Modulo
1234567890123456
Delimitatore
Space
Line feed separated numbers

Input

25
13
44
7

Expected answer

0 3 4 2
Modulo
5
Delimitatore
Line feed
Mixed with non-numeric values

Input

15 abc 4 def 7 xyz 23

Expected answer

0 1 1 2
Modulo
3
Delimitatore
Space
Modulus of 2 (even/odd check)

Input

1 2 3 4 5 6 7 8 9 10

Expected answer

1 0 1 0 1 0 1 0 1 0
Modulo
2
Delimitatore
Space

Parametri

ParametroValore predefinitoInput e opzioni
Modulo2Numero
DelimitatoreLine feedLine feed, Spazio, Virgola, Punto e virgola, Colon, CRLF

Strumenti correlati

Aritmetica / Logica

Riferimento dell’operazione

Vedi la documentazione tecnica originale (English)