Skip to Content
author's profile photo Former Member
Former Member

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

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.

capture.png (58.2 kB)
Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Jan 25 at 09:39 AM

    Hi ,

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

    Thanks

    Viplove

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 26 at 08:18 PM

    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

    Add comment
    10|10000 characters needed characters exceeded