Bug #3253
Indian Numbering System Applied Across the Application
Added by Shreya Agarwal 9 days ago.
Updated 8 days ago.
Description
The Indian numbering system (lakh/crore format) is not being applied consistently across the application wherever numeric values are displayed. Some sections correctly format numbers using the Indian numbering system (e.g., 1,00,000), while others still display numbers in the international format (e.g., 100,000). This inconsistency leads to confusion for users and creates a poor user experience.
Today's task focused on standardizing numeric value displays in accordance with the Indian numbering system (en-IN format) to ensure consistent comma separation (e.g., displaying 2836 as 2,836 and higher values in standard lakh/crore formats)
I applied the native toLocaleString('en-IN') approach across the specified target cards. In the Wallet Report page ,the Total Customers card was updated to display (summary.totalCustomers ?? 0).toLocaleString('en-IN'). Similarly, on the Session Management page the Total Sessions card was updated to render (state.statsData.totalSessionsCount ?? 0).toLocaleString('en-IN').
All modifications strictly adhered to the specified requirements: zero changes were made to API bindings, service layers, state handlers
also testing is done.
also i continue learning react and dotnet for my knowledge enhancement
Also available in: Atom
PDF