# Pipes
Pipes are simple functions to use in template expressions to accept an input value and return a transformed value

## FixedNumberPipe
Formats a number according to fractionDigits and locale rules.

```html
{{ 3.14159265359 | fixedNumber }}
<!-- will ouptut for english locale '3.14' --->
<!-- will ouptut for danish locale '3,14' --->
```

```html
{{ 3.14159265359 | fixedNumber:3 }}
<!-- will ouptut for english locale '3.142' --->
<!-- will ouptut for danish locale '3,142' --->
```

## FiscalDatePipe
Transform fiscalDateDays into Date

```html
{{ 18901 | fiscalDate }}
<!-- will ouptut 'Fri Oct 01 2021 00:00:00 GMT+0200 (Centraleuropæisk sommertid)' --->
```

## XenaDatePipe
Formats a date according to locale rules used en Xena.Web

```html
{{ new Date(2020, 1, 1) | xenaDate }}
<!-- will ouptut for english locale '2/1/2020' --->
<!-- will ouptut for danish locale '01-02-2020' --->
```

FiscalDatePipe and XenaDatePipe in combination
```html
{{ 18901 | fiscalDate | xenaDate }}
<!-- will ouptut for english locale '2/1/2020' --->
<!-- will ouptut for danish locale '01-02-2020' --->
```
