Name: exp2 Type: function Syntax: the exp2 of Syntax: exp2() Summary: the exponential of a number. Introduced: 1.0 OS: mac, windows, linux, ios, android Platforms: desktop, server, mobile Example: exp2(8) -- returns 256 Example: exp2(the screenDepth) -- returns number of colors available Parameters: number: A real number, or an expression that evaluates to a number. Returns: The function a positive number. Description: Use the function to obtain a power of 2. The expression exp2(number) is equal to 2^number. References: exp (function), binary (glossary), return (glossary) Tags: math