Table of contents
TOC
Collapse the table of content
Expand the table of content

Number.FromText

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns a number value from a text value.

Number.FromText(text as nullable text, optional culture as nullable text) as nullable number  

Arguments

ArgumentDescription
textText value to convert to a number. If text does not represent a valid number, Expression.Error is thrown.
optional cultureA text value corresponding to the culture values supported on your version of Windows, such as "en-US". If the culture is not specified, the current user culture is used. For a list of culture names, see National Language Support (NLS) API Reference.

Examples

Number.FromText("1") equals 1  
Number.FromText("a") equals error  
© 2018 Microsoft