# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

# double

Double-precision floating-point real-world value of `fi` object

## Syntax

`double(a)`

## Description

`double(a)` returns the real-world value of a `fi` object in double-precision floating point. `double(a)` is equivalent to `a.double`.

Fixed-point numbers can be represented as

`$real\text{-}worldvalue={2}^{-fractionlength}×storedinteger$`

or, equivalently as

`$real\text{-}worldvalue=\left(slope×storedinteger\right)+bias$`

## Examples

The code

```a = fi([-1 1],1,8,7); y = double(a) z = a.double```

returns

```y = -1 0.9922 z = -1 0.9922```

Get trial now