Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Moin!

Prinzipiell scheine ich die Umrechnung von dezimal zu hexadezimal und umgekehrt verstanden zu haben, allerdings habe ich Probleme bei der Umrechnung der beispielhaften Dezimalzahl 54321.

Meiner Meinung nach müsste der Rechenweg folgendermaßen aussehen:

  • 54321:16 = 3395 Rest 1 (da 3395 * 16 = 54320)
  • 3395:16 = 212 Rest 3 (da 212 * 16 = 3392)
  • 212:16 = 13 Rest 4 (da 13 * 16 = 208)
  • 13:16 = 0 Rest 1 (da 0 * 16 = 0)

Demnach wäre das hexadezimale Ergebnis 1431, was natürlich nicht stimmt, da D431 herauskommen müsste.

Es scheint also am ersten Teilergebnis (1 statt D) zu scheitern - aber wo liegt der Fehler?

Vielen Dank im Voraus!

Mit freundlichen Grüßen,

kolaj

Mach mal die Probe: 0*16 + 1 != 13

13:16 = 0 R 13 => 10 = A, 11 = B, 12 = C, 13 = D

==> 0xD431

Ah, vielen Dank! War wohl ein Flüchtigkeitsfehler.

Mit freundlichen Grüßen,

kolaj

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.