Text.InferNumberType

Syntax

Text.InferNumberType(text as text, optional culture as nullable text) as type

Description

Infers the granular number type (Int64.Type, Double.Type, etc.) of text. An error is raised if text is not a number. 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 / Text Functions / Text.InferNumberType