EU Parliament Monitor — API Documentation - v0.8.39
    Preparing search index...

    Function formatIMFValue

    • Format a numeric IMF value for display, based on the indicator mapping's label hints.

      Percentage-family indicators render as X.Y %; GDP renders with the T/B/M magnitude suffix; population renders in millions to match the WEO publication convention. Unknown indicators fall back to two decimal places.

      Parameters

      Returns string

      A human-readable formatted string, or 'N/A' for null / non-finite inputs.