title: How do append two decimal point after the amount
body: <p>I try below value to convert two decimal point with decimal style.please refer below example.</p>
  
  <pre><code>    ---&gt;1 expected 1.00
      ---&gt;1. expected 1.00
      ----&gt;1.0 expected 1.00
      ---&gt;1.01 expected 1.01
      ---&gt;1235.06 expected 1,235.06
      ---&gt;12356.36 expected 12,356.36 
     ----&gt;12356.0 expected 12,356.00
     ---&gt;12356. expected 12356.00
  </code></pre>
  
  <p>I try below code but it'll not work form me.please help me for this.</p>
  
  <pre><code>   NSNumberFormatter *doubleValueWithMaxTwoDecimalPlaces = [[NSNumberFormatter alloc] init];
  
      [doubleValueWithMaxTwoDecimalPlaces setNumberStyle:NSNumberFormatterDecimalStyle];
  
      [doubleValueWithMaxTwoDecimalPlaces setPaddingPosition:NSNumberFormatterPadAfterSuffix];
  
      [doubleValueWithMaxTwoDecimalPlaces setFormatWidth:2];
  
      [doubleValueWithMaxTwoDecimalPlaces setMaximumFractionDigits:2];
  
      doubleValueWithMaxTwoDecimalPlaces.positiveFormat = @"0.##";
  
      NSNumber *myValue = [NSNumber numberWithDouble:1.01];
  
      NSNumber *myValue1 = [NSNumber numberWithDouble:1.0];
  
      NSNumber *myValue2 = [NSNumber numberWithDouble:1.];
  
      NSNumber *myValue3 = [NSNumber numberWithDouble:1];
  
      NSLog(@" [doubleValueWithMaxTwoDecimalPlaces stringFromNumber:myValue] :%@", [doubleValueWithMaxTwoDecimalPlaces stringFromNumber:myValue]);
  
      NSLog(@" [doubleValueWithMaxTwoDecimalPlaces stringFromNumber:myValue] :%@", [doubleValueWithMaxTwoDecimalPlaces stringFromNumber:myValue1]);
  
      NSLog(@" [doubleValueWithMaxTwoDecimalPlaces stringFromNumber:myValue] :%@", [doubleValueWithMaxTwoDecimalPlaces stringFromNumber:myValue2]);
  
      NSLog(@" [doubleValueWithMaxTwoDecimalPlaces stringFromNumber:myValue] :%@", [doubleValueWithMaxTwoDecimalPlaces stringFromNumber:myValue3]);
  </code></pre>