Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3131

Amount Format based on Currency and Country(Localization) in UI5.

$
0
0

Dear Exports,

                         I gone through this below link and tried all the methods mentioned. But i did't get proper solution.

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ca.ui.model.format.AmountFormat

 

For ex :Based on Currency-

var amount = sap.ca.ui.model.format.AmountFormat.FormatAmountStandardWithCurrency("1234546789.2356", "INR", "2");

   Expected:     INR      1,23,45,46,789.23   .

Actual Result:    INR  1,234,546,789.23

and also Expecting Result Based on Country.

JavaScript is working fine But i need UI5 standard API's. Link-  Number.prototype.toLocaleString() - JavaScript | MDN

Please help me.(Please suggest only ui5 API's).

thanks for your help,

Santhosh Gowda

.


Viewing all articles
Browse latest Browse all 3131

Trending Articles



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