cancel
Showing results for 
Search instead for 
Did you mean: 

How to display numeric value from Millions to Lakhs in SAP Fiori Analytical Apps?

Former Member
0 Kudos

Hi,

Can anyone help..How to display value from Millions to Lakhs in SAP Fiori Analytical Apps S/4 Hana 1610? Is there any settings to change anywhere?

Appreciate if anyone help.

Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

ibibhu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

NumberFormat class can be used to parse a string representing a number.

// Locale object is created and set to the format in order to have a user locale independent formatter.
// In most of the cases, this locale object isn't needed.
var oLocale = new sap.ui.core.Locale("en-US");
var oFormatOptions = {
    style: "short",
    decimals: 1,
    shortDecimals: 2
};

var oFloatFormat = sap.ui.core.format.NumberFormat.getFloatInstance(oFormatOptions, oLocale);
oFloatFormat.format(1234.56); // returns 1.23K (shortified number takes the shortDecimals parameter)

Regards,
Bibhu

former_member340030
Contributor
0 Kudos

Hi ,

Did you solve this .. If yes can you please provide the solution.

Thanks

Viplove