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

Percentage.From

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

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

About

Returns a percentage value from the given value. If the given value is null, Percentage.From returns null. If the given value is text with a trailing percent symbol, then the converted decimal number will be returned. Otherwise, see Number.From for converting it to number value.

Example 1

Get the percentage value of "12.3%".

Percentage.From("12.3%")

0.123

© 2018 Microsoft