Decimal.From

Syntax

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

Description

Returns a Decimal number value from the given value. If the given value is null, Decimal.From returns null. If the given value is number within the range of Decimal, 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 Decimal number value applies. An optional culture may also be provided (for example, “en-US”).

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / Number Functions / Decimal.From