2 min read
Format in JavaScript
const gbp = new Intl.NumberFormat('en-GB', {
style: 'currency', currency: 'GBP', maximumFractionDigits: 0,
});
gbp.format(product.max_amount); // "\u00a3150,000"
Format in PHP and Python
$fmt = new NumberFormatter('en_GB', NumberFormatter::CURRENCY);
echo $fmt->formatCurrency($product['max_amount'], 'GBP'); // \u00a3150,000import babel.numbers
babel.numbers.format_currency(product['max_amount'], 'GBP', locale='en_GB')
Amounts vs repayments
Product min_amount/max_amount are whole pounds, so display them with no decimal places. A quote repayment can carry pence, so format those with two decimal places. Mixing the two — showing a repayment as a round number — quietly misstates the cost, so pick the right precision per field.
Never build currency strings by hand
Prepending a \u00a3 and inserting commas with your own code breaks the moment an amount crosses a thousands boundary or you support another locale. The platform formatters above handle grouping, the currency symbol and rounding correctly, and they are the same across your whole app — so a figure looks identical wherever it appears. Keep one formatter instance and reuse it rather than constructing a new one per value.
Frequently asked questions
What currency are amounts in?
Pounds sterling (GBP). Credicorp lends to UK limited companies, so all public figures are in GBP.
Should I round?
Product amounts are whole pounds; display with no decimal places. Quote repayments may include pence, so format those with two decimals.
Related reading

Quickstart: list Credicorp business-finance products
GET /public/v1/products returns the live catalogue of Credicorp business-finance products. Each item carries…
Read →
Quickstart: get an indicative loan quote from the public API
POST /public/v1/quote turns an amount and term into an illustrative repayment. Send the requested amount and…
Read →
Quickstart: Build a product comparison table
Rendering a comparison table straight from GET /public/v1/products gives readers an always-current view of…
Read →
Quickstart: handle Credicorp API error responses
Every Credicorp API error uses the same envelope: { error: { type, code, message, request_id } }. Branch on…
Read →Funding for UK limited companies
Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.