parse number from a locale specific string?
<p>I have to get the number from France-number-style string: @"30.000,00"
When I use NSNumberFormattern to parse</p>

<pre><code> NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];
 NSNumber *priceNumberValue = [numberFormatter numberFromString:@30.000"];
</code></pre>

<p>It returned 30, my expected return is 30000
I try to use other options</p>

<pre><code>NSLocale *vnLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"fr_FR"];
[numberFormatter setLocale:vnLocale];
</code></pre>

<p>or</p>

<pre><code>[numberFormatter setDecimalSeparator:@","];
</code></pre>

<p>but it still returns unexpected value: 30</p>

<p>What is the correct way for me to tell the NSNumberFormatter parse @"30.000,00"?</p>
