[ECO Bounty] ioTexScan Missing Digit Grouping (Commas) for Staked IOTX

Description

The IoTeX block explorer is failing to use digit grouping (commas) for large numerical values in the "Staked IOTX" data block. While other metrics on the dashboard use commas (e.g., "213,194,125 Transactions"), the raw amount of staked tokens is displayed as a continuous string of digits, making it difficult for users to read at a glance.

Steps to Reproduce

  1. Navigate to iotexscan.io.

  2. Locate the "Staked IOTX" card on the main dashboard.

  3. Observe the green numerical value representing the total staked amount.

Actual Result

The value is displayed as 3717669956.85.

Expected Result

The value should follow standard financial formatting with commas for readability: 3,717,669,956.85.

Suggested Fix

Apply a standard locale-based number formatter (e.g., toLocaleString() in JavaScript) to the "Staked IOTX" value to ensure consistency with the "Transactions" and "Blocks" cards already present on the dashboard.

Wallet Address: io1tkw393kejmxwnd454twc6020sxcyvh5dxqmren

Device & Environment:

-Operating system: Android 13

-Device model: Redmi Note 10 Pro

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
πŸ’‘

New Issue

Date

About 13 hours ago

Author

cryptotestnet

Subscribe to post

Get notified by email when there are changes.