Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Rounding errors

Aperta
#308 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

The issue names no file, so begin by finding where the Kotlin source evaluates division followed by multiplication, and reproduce the two steps (100÷3, then ×3) on the app. Confirm whether the fix belongs in the arithmetic itself or in how the result is rounded for display, since the maintainers have not said which. Done means the sequence shows 100 and the change is covered by a test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.4.0

Affected Android/Custom ROM version

GrapheneOS 2026062801 (Android 17)

Affected device model

Pixel 8

How did you install the app?

GitHub releases

Steps to reproduce the bug
  1. Type 100÷3 and press equals
  2. Type ×3 and press equals
Expected behavior

The calculation should return 100.

Actual behavior

The calculation returns 99.999999999999999

Screenshots/Screen recordings
ignoreImageMinify
Additional information

No response

Lingua principale
Kotlin
Stelle
450
Fork
57
Merge medio
2g 30m
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FossifyOrg/Calculator

Tutte le issue di FossifyOrg/Calculator

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.