Show / Hide Table of Contents

to_number

number to_number(string|number value)

If string, returns the parsed number. If number, returns the passed in value.

It is a type error if

  • the provided value is not a string or number

  • the string cannot be parsed as a number

Examples

  • Improve this Doc
In This Article
Back to top Generated by DocFX