Best way to format numbers (x,xxx,xxx.xx) ? #4093
Unanswered
dmeinke-etc
asked this question in
Help
Replies: 1 comment 2 replies
-
You should just be able to use
You could also create a global EdgeJS method that takes the number in and calls |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Take a typical decimal entry into the a mysql field represented by xxxxxxx.xx. When I display it, I need it to be formatted as x,xxx,xxx.xx. What's the best way to accomplish this? Should I do rawQuery(select FORMAT(my_field, 2)) or is there a way to do it on the template level that may work better?
Beta Was this translation helpful? Give feedback.
All reactions