def nice_price(price):
    """ Returns the price in nice numbers with k/m/b on the end as a string """
    if price < 1000:
        return f'{price:,.0f} gp'
    elif price < 1000000:
        return f'{price / 1000:,.1f} K gp'
    elif price < 1000000000:
        return f'{price / 1000000:,.1f} M gp'
    else:
        return f'{price / 1000000000:,.2f} B gp'