github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/job-specification/hcl2/functions/numeric/pow.mdx (about) 1 --- 2 layout: docs 3 page_title: pow - Functions - Configuration Language 4 sidebar_title: pow 5 description: The pow function raises a number to a power. 6 --- 7 8 # `pow` Function 9 10 `pow` calculates an exponent, by raising its first argument to the power of the second argument. 11 12 ## Examples 13 14 ```shell-session 15 > pow(3, 2) 16 9 17 > pow(4, 0) 18 1 19 ```