Lewati ke konten
Number Buffet

Pecahan dan desimal

Ubah pecahan menjadi desimal dan sebaliknya — tepat, termasuk desimal berulang, dengan pecahan yang disederhanakan ke bentuk paling sederhana.

3 menit baca

Pengaturan

Prasetel cepat

One value per line. Fractions (3/8), mixed numbers (2 3/4), decimals (0.375), repeating decimals written with the repeating block in brackets (0.08(3)) and e-notation (1.25e-3) are all accepted.

There is no single standard: British schools use dots, American texts an overline, much of continental Europe brackets.

Long division stops here. A repetend longer than this is reported as truncated rather than silently cut.

Writes 11/4 as 2 3/4 instead of leaving it improper.

Reads 0.3333 as 0.(3) when a block repeats at least twice. Turn this off to treat typed digits literally; brackets are always exact.

Prints "input = output", using ≈ when the decimal had to be truncated.

Setel tampilan

Pilih dulu salah satu prasetel di samping gambar — kendali ini menyesuaikannya.

Frame

A border drawn inside the edge of the image.

Lanjutan

Hasil

7 nilai

1/2 = 0.5, 1/3 = 0.3̅, 1/7 = 0.1̅4̅2̅8̅5̅7̅, 3/8 = 0.375, 0.375 = 3/8, 0.08(3) = 1/12, 2 3/4 = 2.75


Buat gambar

Aktifkan JavaScript untuk memberi gaya pada angka-angka ini dan mengunduhnya sebagai gambar. Nilainya sendiri sudah terdaftar di atas.

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

Artikel latar belakang di bawah belum diterjemahkan dan ditampilkan dalam bahasa Inggris.

Tentang pecahan dan desimal

Fractions are older than place value. The Rhind Mathematical Papyrus, copied around 1550 BCE by the scribe Ahmose from a text perhaps two centuries older, works almost entirely in unit fractions — sums of reciprocals such as 1/2 + 1/7 + 1/14 — and opens with a table expressing 2/n in that form for odd n up to 101. Babylonian scribes had something closer to our decimals much earlier: their base-sixty place value system extended to the right of the units, which is why we still cut hours and degrees into sixtieths and sixtieths of sixtieths.

Decimal fractions took far longer to settle. Al-Uqlidisi, writing in Damascus around 952, used them in his arithmetic of the Hindu numerals, though historians disagree about how deliberately; al-Kashi applied them systematically in The Key to Arithmetic (1427) while working at Ulugh Beg's observatory in Samarkand. In Europe the decisive popularizer was Simon Stevin, whose short pamphlet De Thiende ("The Tenth", Leiden, 1585) argued that decimal fractions should replace common fractions everywhere, and that weights, measures and coinage should be decimalized too — a proposal that waited for the French Revolution. Stevin's own notation was cumbersome, circling the position of each digit. The modern point arrived with John Napier's Rabdologiae (1617); an earlier printed use by Bartholomaeus Pitiscus in 1608 is sometimes claimed, but that attribution is disputed.

Repeating decimals got their theory from number theory rather than from commerce. Gauss treated the conversion of ordinary fractions into decimals in Section VI of the Disquisitiones Arithmeticae (1801), tying the length of the repeating block to the order of 10 modulo the denominator — the result that explains why 1/7 needs six repeating digits while 1/11 needs only two. The notation never standardized: British schools mark the repetend with dots over its first and last digits, American texts draw an overline, and continental European ones often use brackets, which is why this page lets you pick.

Sifat utama

  • A fraction in lowest terms has a terminating decimal expansion in base ten exactly when its denominator has no prime factors other than 2 and 5.
  • Otherwise the expansion repeats forever, and the length of the repeating block is the multiplicative order of 10 modulo the part of the denominator coprime to 10.
  • If the reduced denominator is 2^a · 5^b · d with d coprime to 10, the expansion settles into its repeating block after max(a, b) digits.
  • Every repeating decimal is rational: 0.(abc) = abc/999, and that identity — multiply by a power of ten, subtract, divide — is the method this page uses.
  • The repetend of 1/n is at most n − 1 digits long. Primes achieving that maximum are called full reptend primes, and begin 7, 17, 19, 23, 29, 47.
  • 1/7 = 0.(142857), and multiplying 142857 by 2, 3, 4, 5 or 6 gives a cyclic rotation of the same six digits.
  • Every terminating decimal has a second exact representation ending in repeating nines: 0.2 = 0.1(9), and 1 = 0.(9).
  • Reducing by the greatest common divisor and keeping the denominator positive gives each rational number exactly one canonical form.

Di mana muncul

  • Machine shops and US customary measurement work in binary fractions — 1/16, 1/32, 1/64 of an inch — because repeated halving stays exact in both fractions and decimals (1/64 = 0.015625).
  • US stock markets quoted prices in eighths and sixteenths of a dollar until decimalization was completed in 2001, a change that shrank the minimum tick from 6.25 cents to one cent.
  • Binary floating point cannot represent 1/10 exactly, which is why 0.1 + 0.2 does not equal 0.3 in most programming languages and why financial code stores integer cents or uses a decimal type.
  • Music notation is a fraction system: a time signature is a fraction of a whole note, and tuplets are the places where the arithmetic stops dividing evenly.
  • Gear and pulley ratios are quoted as fractions because the exact integer tooth counts matter — a 7:1 reduction behaves differently from the decimal 0.142857 it rounds to.

Cara memakai generator ini

Nilai yang dihasilkan muncul di bagian atas, dengan tombol salin di sebelahnya. Untuk menjadikannya gambar, pilih tampilan dari gaya di bawah Buat gambar, tentukan ukuran ekspor, lalu unduh sebagai PNG, JPEG, atau WebP. Semuanya digambar di peramban, jadi tidak ada yang kamu hasilkan dikirim ke server.

Bilah alamat ikut berubah saat kamu bekerja, jadi tautannya selalu menghasilkan persis apa yang kamu lihat — berguna untuk membagikan barisan tertentu atau menyimpan sebuah pengaturan. Pakai Salin untuk mengambil nilainya sebagai teks biasa, atau Ekspor data untuk CSV, JSON, NDJSON, SQL, dan XML.

Sumber

Ringkasan sejarah di halaman ini bersandar pada rujukan berlisensi terbuka yang didaftar di atas. Menemukan kekeliruan? Beri tahu kami dan akan kami perbaiki.