Converter firi decimal nɔma kɔ binary nɔma a ɛwɔ anammɔn anammɔn list a ɛkyerɛ akontabuo a wɔayɛ
Akwankyerɛ:
Eyi yɛ decimal nɔma kɔ binary nɔma converter. Wubetumi adan akontaahyɛde a ɛnyɛ papa ne akontaahyɛde nso a ɛwɔ ɔfã a ɛyɛ fã ketewaa bi. Nea efi mu ba no wɔ pɛpɛɛpɛyɛ a edi mũ wɔ ne integer fã no mu. Wɔ ne fã a ɛyɛ fã ketewaa no mu no, nea efi mu ba no wɔ pɛpɛɛpɛyɛ a ɛkɔ soro kodu akontaahyɛde a ɛyɛ fã ketewaa a wɔde hyɛ mu no mmɔho 10.
Hyehyɛ decimal nɔma a wopɛ sɛ wunya ne binary equivalent no ma no. Wɔyɛ nsakrae no ntɛm ara, bere a wɔrekyerɛw nɔma no, a enhia sɛ wobɔ bɔtn biara so. Hyɛ no nsow sɛ nkyerɛwee beae no boa nkyerɛwde a ɛfata a ɛne decimal nɔma hyia nkutoo. Eyinom ne agyiraehyɛde a enye, fractional separator, ne akontaahyɛde a ɛwɔ zero kosi akron.
Wɔ nsakraeɛ no ase no wobɛtumi ahunu anammɔn a wobɛfa so ayɛ nsakraeɛ no nsaano. Saa list yi nso bɛpue bere a wɔrekyerɛw nɔma no.
Saa krataafa yi nso de dwumadi ahorow a ɛfa nsakrae no ho ma, a wobetumi ayɛ denam ne bɔtn ahorow no a wobɛkyere so. Eyinom ne:
- ma dodow a wode ahyɛ mu no nkɔ soro na ntew so biako
- swap nsakrae nhyehyɛe
- popa nɔma a wode ahyɛ mu no
- kɔpi nɔma no fi nea efi mu ba no mu