Formats a numeric value according to the specified number type formatting rules.
This function serves as the main entry point for number formatting throughout the application.
It applies consistent formatting based on the context where the number is displayed (e.g., token amounts,
fiat prices, portfolio balances) using predefined formatter rules.
Formats a numeric value according to the specified number type formatting rules.
This function serves as the main entry point for number formatting throughout the application. It applies consistent formatting based on the context where the number is displayed (e.g., token amounts, fiat prices, portfolio balances) using predefined formatter rules.