:) I have something that works on a test page. I just need to rename a few things, but this function works and converts any decimal to a price in US dollars. baseprice and Editbox3 are number fields, and Editbox7 and baseprice_str are string values.
<script>
function myFunction() {
var formatter ...
Search found 3 matches
- Wed Oct 04, 2017 12:46 am
- Forum: Off Topic Section
- Topic: convert numbers to a string and currency
- Replies: 5
- Views: 3739
- Mon Oct 02, 2017 11:47 pm
- Forum: Off Topic Section
- Topic: convert numbers to a string and currency
- Replies: 5
- Views: 3739
Re: convert numbers to a string and currency
Thanks for the reply. I already have the symbol and the number. The problem with the format is that it shows it as a decimal and not currency.
This is what I have now:
Price: $ 1134.00
What I would like to see is this:
Price: $ 1,334.00
How would conditions change a decimal point to a comma ...
This is what I have now:
Price: $ 1134.00
What I would like to see is this:
Price: $ 1,334.00
How would conditions change a decimal point to a comma ...
- Mon Oct 02, 2017 2:28 am
- Forum: Off Topic Section
- Topic: convert numbers to a string and currency
- Replies: 5
- Views: 3739
convert numbers to a string and currency
I am looking for examples of how to display a number as currency in a text field. Everything I have tried does not work. This program has everything but this function.
Like this:
Price $: 1,000
I was able to display the text and the value, but can't figure out how to do the formatting to show ...
Like this:
Price $: 1,000
I was able to display the text and the value, but can't figure out how to do the formatting to show ...