carp-dk / carp-dk/research.package

RPSliderAnswerFormat does not always render numbers nicely

Open
#143 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Dart
Stars
52
Forks
47
Avg merge
5h 35m
Merged PRs (30d)
4

Description

When trying to use integers in the `RPSliderAnswerFormat` is shows up with strange decimalt. Se examples below.

Also - there seems to be a space missing between then number and the unit..

![2025-01-06 18 10 45](https://github.com/user-attachments/assets/60d31e73-5103-4ba5-b1bd-cdbedc98e08c)

![2025-01-06 18 17 47](https://github.com/user-attachments/assets/f20433f5-89d7-4cf0-b3df-8da918deacd5)

![2025-01-06 18 17 53](https://github.com/user-attachments/assets/a2a019c8-dcf5-40cc-aab7-4b0e0ea307a2)

![2025-01-06 18 24 22](https://github.com/user-attachments/assets/05f4b0b6-3ff1-4e62-bbf0-969a05b27c80)

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the RPSliderAnswerFormat implementation in the Dart/Flutter package and reproduce the integer-rendering examples from the issue. Inspect the formatting path for numeric values and units; done means integer values no longer show unwanted decimals and a space appears between the number and unit.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.