title: SAPUI5 - Number Format Localisation
body: <p>I have an issue related to number formatting for decimals in different languages.
  For the CURRENCY control, system takes the correct format based on the language coming from the URL parameter; <a href="https://i.stack.imgur.com/0Q9WK.png" rel="noreferrer">US and DE</a>
  <code>?sap-ui-language=DE</code>  or <code>?sap-ui-language=US</code></p>
  
  <p>For the input fields which has <code>type=Number</code> attribute, always uses <a href="https://i.stack.imgur.com/3SFIS.png" rel="noreferrer">DOT</a> as decimal separator regardless of language setting.
  Is there a solution for this problem ? 
  I have a dynamic sap.ui.table populated (for both rows and columns) and some rows has number fields and some rows as text fields so i am sending dataformat from the backend dynamically as below;</p>
  
  <pre><code>temp = new sap.m.Input(sColumnId + index,{  value:"{path: '" + sColumnId + "'}" , type:"{DATATYPE}",  textAlign:"Right", liveChange:[handle_livechange,this], change:[handle_change, this] , editable:"{path:'EDITABLE', type:'sap.ui.model.odata.type.String'}" }
  </code></pre>
  
  <p>since some rows are text based, i cannot hard code formatter as below;</p>
  
  <pre><code> type:'sap.ui.model.type.Float', formatOptions : {   groupingEnabled: true, groupingSeparator: '.', decimalSeparator : ',', minFractionDigits: 2}}"
  </code></pre>
  
  <p>I tried custom formatter but somehow on dynamic table my formatter function cannot be found.
  I tried onChange method to dynamically format but in this case my javascript calculations doesnt work.</p>
  
  <p>If i can control the formatting option based on the row value with expression binding, it will also fix my issue but <strong>below code doesn't work.</strong></p>
  
  <pre><code>temp = new sap.m.Input(sColumnId + index,{  value:"{path: '" + sColumnId + ", =${DATATYPE} === 'Number' ? type:'sap.ui.model.type.Float', formatOptions : {   groupingEnabled: true, groupingSeparator: '.', decimalSeparator : ',', minFractionDigits: 2} : type:'sap.ui.model.type.String' }"
  </code></pre>