Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Change format Numbers
var OP11 = 2545.50; OP11 = parseFloat(OP11);//convert test data to the correct format e.g. 10.000,00 OP11 = OP11.toFixed(2); OP11 = OP11.replace(/\./,","); pattern = /(-?\d+)(\d{3})/;{ while (pattern.test(OP11)) OP11 = OP11.replace(pattern, "$1.$2"); } print(OP11)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
I love sorting
Too much Recursion
on_off
Just stop thinking about it and go eat
Узнать день недели из двух дат
BaseConverter
JS is_sorted
class Node
Iterate the iteratable object from the iterator object
1
stackse - search stackoverflow differently
Please log in to post a comment.