float.float64

This function converts the input to a float64 with the specified (optional) floating point precision.

Syntax

float.float64(input, 16)

Arguments

Argument

Type

Description

input

 

Input to be converted to float64.

precision

int

(Optional) The default precision value is 16. Any precision value greater than 16, defaults to 16.

Returns

Type

Description

float64

Input converted to float64.

Examples

The function float.float64("2.77876542316664548335",14) returns 2.77876542316664.