Percentage.From

 

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

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.

Get the percentage value of "12.3%".

Percentage.From("12.3%")

0.123

Show: