Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
how to format money as currency string
Erty Seidohl
Programming language:
Whatever
2021-08-12 12:29:13
0
Q:
how to format money as currency string
Chris Barry
Code:
Whatever
2021-07-12 20:23:59
(12345.67).toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,'); // 12,345.67
8
Tags
string
how
form
Related
format currency amount from number to decimal as currency
conversione char int
vba format string as cash
number to write string
integer to stringc
Currency Converter
String Formatting with the % Operator
string.format in jFormatoptionpane
New to Communities?
Join the community