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