# decimaltostring

### decimaltostring(value)

Returns a String equivalent to the supplied Decimal argument.

## Arguments

Argument | Data Type | Description
value | Decimal | Decimal to convert to a String.

## Returns

A String equivalent to the Decimal value supplied. Normal use would probably include a corresponding call to decimalsetscale(), rounding the Decimal to the required number of decimal places. A call without setting the scale will result in a String representing a number with many decimal places. See examples.

## Description

Takes the Decimal value supplied and converts it to an equivalent String, which is returned.

## Examples

Assume the following variables:

value1 = Decimal(123456789.11), value2 = Decimal(122.01)

Example | Returns | Description
bigddouble(value1) | "123456789.10999999940395355224609375" |
bigdtodouble(value2) | "122.0100000000000051159076974727213382720947265625" |

Note the large number of decimal places - this would usually be avoided by judicious use of the decimalsetscale() function.

## See Also

decimalsetscale(), Decimal Variables