Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'

This commit is contained in:
Bjørn Erik Pedersen
2023-12-04 15:24:01 +01:00
810 changed files with 24147 additions and 7766 deletions

View File

@@ -1,27 +1,21 @@
---
title: lang.FormatAccounting
description: Returns a currency representation of a number for the given currency and precision for the current language in accounting notation.
categories: [functions]
description: Returns a currency representation of a number for the given currency and precision for the current language and region in accounting notation.
categories: []
keywords: []
menu:
docs:
parent: functions
function:
action:
aliases: []
related:
- functions/lang/FormatCurrency
- functions/lang/FormatNumber
- functions/lang/FormatNumberCustom
- functions/lang/FormatPercent
returnType: string
signatures: [lang.FormatAccounting PRECISION CURRENCY NUMBER]
relatedFunctions:
- lang.FormatAccounting
- lang.FormatCurrency
- lang.FormatNumber
- lang.FormatNumberCustom
- lang.FormatPercent
---
```go-html-template
{{ 512.5032 | lang.FormatAccounting 2 "NOK" }} → NOK512.50
```
{{% note %}}
{{% readfile file="/functions/_common/locales.md" %}}
{{% /note %}}
{{% include "functions/_common/locales.md" %}}