# DecimalFormat()

Converts a number to a decimal-formatted string.

```
DecimalFormat( number=any );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| number | any | Yes | Number to format |  |

# Examples

```cfml
	writeOutput(decimalFormat("45")&"<br>");//45.00
	writeOutput(decimalFormat(26));//26.00;
```







# Categories

[Numbers](../../categories/number.md), [Strings](../../categories/string.md), [Formatting](../../categories/formatting.md)