Quantcast
Channel: SCN : All Content - SAP Fiori
Viewing all articles
Browse latest Browse all 1807

SAPUI5 AmountFormat conversion

$
0
0

Hello All,

I am extending the fiori app. The amount that comes from SAP ( for.eg 6000.12 is the amount I get from SAP)

I used the formatter function: sap.ca.ui.model.format.AmountFormat.FormatAmountStandardWithCurrency(oValue,sCurrency);

where oValue = 6000.12

           sCurrency = JPY

 

The result of formatted value is : "JPY 6.000"

 

Now if I want the to get the original number  i.e 6000.12 back from formatted amount , i do not find any function.

Can anyone sugegst , how do i achieve this.?

 

Thanks in advance

 

Sheetal


Viewing all articles
Browse latest Browse all 1807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>