• Function to format a game value with various settings.

    Parameters

    Returns string

    The formatted value.