Questions tagged [currency]

Currency is a medium of exchange of value, usually referring to government issued denominations.

The Currency tag is relevant to any topic that involves the handling of currency, including accurate calculation, rounding schemes, best practices and display formatting. It is also applicable to discussions of how specific languages or libraries handle currency.

http://en.wikipedia.org/wiki/Currency

2964 questions
1
vote
1 answer

how to chose currency in magento1 for each country

Hi all and thanks for reading, I'm working on magento and we are using geoip extension to locate customer and then deside the correct currency depending on his location. this was working good if I set one country for each allowed currency and USD…
rramiii
  • 1,156
  • 6
  • 15
  • 29
1
vote
3 answers

Format a Decimal to Currency

I have a list of decimals that I want to be able to format as U.S. currency. I know I can do this with string.format but if I convert the decimals to a string they no long sort properly 1234.98 91234.12 541234.12 When converted to currency using…
1
vote
1 answer

Currency Symbol for a given currency code

I'm trying to output all currency symbol (like $ or €) in java for a given currency code. The list of currency codes can be found in http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml and the language is either "pt" or "en". I tried…
amachado
  • 1,032
  • 1
  • 15
  • 31
1
vote
1 answer

Kontagent ios. Currency code for tracking

I have kontagent analytics plugin in my Unity project (v. 1.5.7) and have one problem. When I have purchases, I can set how much a player spends in my game, but if a user doesn't spend in USD I get the wrong amount of money. Can I set the currency…
LuckSound
  • 986
  • 2
  • 12
  • 35
1
vote
2 answers

Regex match value prefixed/suffixed by currency symbol/code

I need a regex to match & extract a decimal value prefixed (or suffixed) by its currency. Here are some examples 10$ 10.01 $ $ 10.012 61 USD £ 50.51 94 GBP Found this \p{Sc} very useful, but insufficient for what i need.
Alex
  • 431
  • 1
  • 6
  • 14
1
vote
1 answer

Country-Currency mapping in symfony

In the Symfony Intl bundle, there exists a method to get the list of all currencies. Is there any way to get the mapping between a country and the currencies used in this country? e.g. I want to get the list of currencies used in Serbia.
Obaid Maroof
  • 1,523
  • 2
  • 19
  • 40
1
vote
0 answers

Showing num keyboard for currency on mobile devices with validation

So I've read through a bunch of other similar questions but I'm at a loss as to what I can do. I have an input box that takes a currency so I'd assume clients would put $2.50 in. I'd also like to have the num keyboard display when a user clicks on…
Rudiger
  • 6,749
  • 13
  • 51
  • 102
1
vote
1 answer

Product Price based on currency in Magento

I need to set multiple product price for products in Magento based on currency. I know that this can be done by creating multiple websites, but doing so only for a price attribute doesn't seem reasonable as everything expect that remains the same.…
Ankit Singhania
  • 1,010
  • 9
  • 17
1
vote
2 answers

NSNumberFormatter stringFromNumber: doesn't return a currency symbol

I have the following method on a custom UITableViewCell subclass: - (void)setPrice:(NSNumber *)price { _price = price; NSNumberFormatter *formatter = [NSNumberFormatter new]; formatter.formatterBehavior = NSNumberFormatterCurrencyStyle; …
WFT
  • 267
  • 3
  • 11
1
vote
1 answer

Android: convert currency symbol into currency code

I am using in-app billing and I would like to log the purchases into Google Analytics e-commerce: the in-app billing provides the price in the "number symbol" format (e.g. "1.99 €"), from where I can get the currency symbol (e.g. "€", "£") Google…
Daniele B
  • 19,801
  • 29
  • 115
  • 173
1
vote
1 answer

Unknown Error Causing Zeros Obj C

My code seems right but for some reason, after I enter the numbers in the fields, every textfield (except days worked) turns into zeros. Can someone please take a look at the coding below and see what I may be doing wrong? -…
Joshua Hart
  • 772
  • 1
  • 21
  • 31
1
vote
0 answers

Multiple currency selector: converting the clone price only?

I allow users to select their own currency to see a product price. But I want them always pay the cart by Base Currency which is Euro. It is just like this store, where you can see the currency you select in in parentheses, next to the Base Currency…
Run
  • 54,938
  • 169
  • 450
  • 748
1
vote
0 answers

Paypal not working with Currency Switcher

I Have a requirement given below....which need to be integrated in magento project. My base currency is INR. Currency Switcher (USD, AUD, INR, EURO) in header. **3. Paypal as payment gateway on checkout when user select a currency by currency…
IamManish
  • 160
  • 1
  • 8
1
vote
1 answer

adding decimals and american currency symbol to single view app

First off, I want to thank the developers and programmers on the site who have answered many of my questions in the past. It wasn't until today that I signed up at stackoverflow. The answers many of you have provided to others has helped me a lot!…
Joshua Hart
  • 772
  • 1
  • 21
  • 31
1
vote
1 answer

How to convert currency in Google Docs Spreadsheet cell?

Okay I have a cell with Russian Roubles and want to convert them into US Dollars. What is the formula? I tried to find some keywords with =something (currency,finance,convert,dollar,double,ruble and much more) but found nothing.