Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve balance formatting by handling numeric validation
Improve balance formatting by handling numeric validation - Removed unnecessary typecasting to integer in balance formatting. - Added numeric validation to ensure the balance is properly formatted. - Preserved floating-point precision by casting the balance to float. - This change ensures that non-numeric balances default to 0, preventing potential errors while retaining accuracy in currency formatting.
- Loading branch information