Power Query
published
Search
⌃K

Double.From

Double.From

Creates a Double from the given value.
function (optional value as nullable any, optional culture as nullable any) as nullable any

Description

Returns a Double number value from the given value. If the given value is null, Double.From returns null. If the given value is number within the range of Double, value is returned, otherwise an error is returned. If the given value is of any other type, see Number.FromText for converting it to number value, then the previous statement about converting number value to Double number value applies.

Category

Number.Conversion and formatting

Examples

Get the Double number value of "4".
Double.From("4.5")
4.5