Remove all spaces between M$ and the associated number
This commit is contained in:
		
							parent
							
								
									2e214cab7a
								
							
						
					
					
						commit
						f8be6a3e2d
					
				|  | @ -10,7 +10,7 @@ const formatter = new Intl.NumberFormat('en-US', { | |||
| export function formatMoney(amount: number) { | ||||
|   const newAmount = Math.round(amount) === 0 ? 0 : Math.floor(amount) // handle -0 case
 | ||||
|   return ( | ||||
|     ENV_CONFIG.moneyMoniker + ' ' + formatter.format(newAmount).replace('$', '') | ||||
|     ENV_CONFIG.moneyMoniker + formatter.format(newAmount).replace('$', '') | ||||
|   ) | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user