# Fixed64 Data Type

Holds signed 64-bit (8-byte) fixed-point values with a default range −922,337,203,685,477.5808 – +922,337,203,685,477.5807.

## Instructions

- Default value
- When you declare a variable of type
`Fixed64`and leave it uninitialized,, its value defaults to zero (¤0.0). - Coercion
- The
`Fixed64`data type widens to`Real32`,`Real64`,`Real`, or`Real128`without any risk of overflow. - Type characters
`Fixed64`has no type characters.

## Fixed64 literal

`@` [ `symbol` ] `integer_part` [ `.` `fractional_part` ]

or

`¤` `integer_part` [ `.` `fractional_part` ]

### Parts

`symbol`- Optional one character.
Some permitted symbols are:
`$`,`€`,`£`, and`¥`. - these symbols are ignored by the compiler. If you use a symbol, use the same one in all of your code.
`integer_part`- One to 18 decimal digits. For the default number of decimal places, the maximum is 15 digits. You can use an underscore (_) to divide it into groups of digits.
`fractional_part`- One to 18 decimal digits. For the default number of decimal places, the maximum is 4 digits. Any additional digits are ignored.

## Constructors

`Fixed64(Optional places As UInt = 4)`

`places`specifies the number of places to the right of the decimal point. It must be between 1 and 19. The default is 4.

## Shared methods and properties

`Fixed64.Bits As UInt`

- Returns 64.
`Fixed64.Epsilon(Optional x As Fixed64) As Fixed64`

- Returns the smallest value greater than ¤0.0.
If
`x`is not given, it returns ¤0.0001 `Fixed64.Max(Optional x As Fixed64) As Fixed64`

- Returns the largest positive value for
`x`. If`x`is not given, it returns ¤922_337_203_685_477.5807 `Fixed64.Min(Optional x As Fixed64) As Fixed64`

- Returns the smallest negative value for
`x`. If`x`is not given, it returns −¤922_337_203_685_477.5808 `Fixed64.Parse(str As String, Optional #fmt As Format) As Fixed64`

- Tries to parse a string that shows as a number.
- If
`#fmt`is not given or is`#Null`, then it uses the format of the local culture. Or you can be explicit with “`Format.#UserLocale`”.

## Examples

```
Dim price As Fixed64 = @$1_199.99
```