Decimal separator parsing issue when buying TFTs in Market (0,5 not converted to 0.5)

Open
#1,092 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
dart
Domain
mobile

Research direction

Start by reproducing the issue in the TFConnect app on Android 14, following the Market buy TFT steps with "0,5". Locate the amount parsing used by the Market purchase flow; done means comma decimals are accepted and the total amount field is populated correctly.

Written by the indexing model from the issue text.

Description

Is there an existing issue for this?
  • I have searched the existing issues
What happened?
  • When using the TFConnect app to buy TFTs through the Market, entering a decimal amount with a comma (e.g., "0,5") fails to parse to a dot decimal format. This causes the total amount field to become empty
Steps To Reproduce
  1. Open TFConnect app
  2. Navigate to Market
  3. Select buy TFTs option
  4. Enter amount as "0,5" (using comma as decimal separator)
  5. Observe the field shows empty
Relevant screenshots/screen records
Environment:

• OS Version: Android 14
• App Version: 4.3.0-193

Dominant language
Dart
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from threefoldtech/grid_connect

All issues in threefoldtech/grid_connect

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.