# ApCoCoA-1:Dec

From ApCoCoAWiki

## Dec

Pretty Printing of Objects.

### Syntax

Dec(X:Object, Digits:INT):Object

### Description

This function prints (rational) numbers within the object `X` as a floating point number up to `Digits` Digits. The floating point numbers are represented as strings.

@param

*X*The object whose numbers should be printed as floating points. X can be MAT, LIST, POLY, INT, RAT or iteration thereof.@param

*Digits*Gives the exactness of printing.@return The given object with floating point numbers represented as strings instead of (rational) numbers.

### See also

<see>Print<see> <see>Print On<see> <see>PrintLn<see>