Double.From

The function Double.From returns a numerical value of type Double based on the input provided. If the input is null, the function will return null. If the input is a number within the acceptable range...

Syntax

Double.From(value as any, optional culture as nullable text) as nullable number

About

The function Double.From returns a numerical value of type Double based on the input provided. If the input is null, the function will return null. If the input is a number within the acceptable range for a Double value, that number will be returned. Otherwise, an error will be generated. If the input is of a different data type, it will first be converted to a number using the function Number.FromText. Additionally, an optional culture parameter can be specified, such as "en-US".

Explanation

Retrieve the numeric value of "4" doubled using Power Query. Use the MDouble.From function with the input parameter "4.5". The output will be 4.5.