numeric and conversion functions

docs/packer-seo-functions-batch3
trujillo-adam 1 year ago
parent 8ad24fd454
commit 8b84cce611

@ -1,8 +1,8 @@
---
page_title: can - Functions - Configuration Language
page_title: can function reference
description: |-
The can function tries to evaluate an expression given as an argument and
indicates whether the evaluation succeeded.
The `can` function evaluates an expression as an argument and
indicates whether the evaluation succeeded. Learn how to us the `can` function in Packer templates.
---
# `can` Function

@ -1,6 +1,6 @@
---
page_title: convert - Functions - Configuration Language
description: 'The convert function converts a value or an expression to a given type. '
page_title: convert function reference
description: The `convert` function converts a value or an expression to a given type. Learn how to use the `convert` function in Packer templates.
---
# `convert` Function

@ -1,9 +1,7 @@
---
page_title: try - Functions - Configuration Language
page_title: try function reference
description: |-
The try function tries to evaluate a sequence of expressions given as
arguments and returns the result of the first one that does not produce
any errors.
The `try` function evaluate a sequence of expressions and returns the result of the first expression that does not produce any errors. Learn how to use the `try` function in Packer templates.
---
# `try` Function

@ -1,6 +1,6 @@
---
page_title: abs - Functions - Configuration Language
description: The abs function returns the absolute value of the given number.
page_title: abs function reference
description: The `abs` function returns the absolute value of the given number. Learn how to use the `abs` function in Packer templates.
---
# `abs` Function

@ -1,8 +1,8 @@
---
page_title: ceil - Functions - Configuration Language
page_title: ceil function reference
description: |-
The ceil function returns the closest whole number greater than or equal to
the given value.
The `ceil` function returns the closest whole number greater than or equal to
the given value. Learn how to use the `ceil` function in Packer templates.
---
# `ceil` Function

@ -1,8 +1,8 @@
---
page_title: floor - Functions - Configuration Language
page_title: floor function reference
description: |-
The floor function returns the closest whole number less than or equal to
the given value.
The `floor` function returns the closest whole number less than or equal to
the given value. Learn how to use the `floor` function in Packer templates.
---
# `floor` Function

@ -1,6 +1,6 @@
---
page_title: log - Functions - Configuration Language
description: The log function returns the logarithm of a given number in a given base.
page_title: log function reference
description: The `log` function returns the logarithm of a given number in a given base. Learn how to use the `log` function in Packer templates.
---
# `log` Function

@ -1,6 +1,6 @@
---
page_title: max - Functions - Configuration Language
description: The max function takes one or more numbers and returns the greatest number.
page_title: max function reference
description: The `max` function return the largest number from the given ste of one or more numbers. Learn how to use the `max` function in Packer templates.
---
# `max` Function

@ -1,6 +1,6 @@
---
page_title: min - Functions - Configuration Language
description: The min function takes one or more numbers and returns the smallest number.
page_title: min function reference
description: The `min` function returns the smallest number in a set of one or more numbers. Learn how to use the `min` function in Packer templates.
---
# `min` Function

@ -1,8 +1,8 @@
---
page_title: parseint - Functions - Configuration Language
page_title: parseint function reference
description: >-
The parseint function parses the given string as a representation of an
integer.
The `parseint` function parses the given string as a representation of an
integer. Learn how to use the `parseint` function in Packer templates.
---
# `parseint` Function

@ -1,6 +1,6 @@
---
page_title: pow - Functions - Configuration Language
description: The pow function raises a number to a power.
page_title: pow function reference
description: The `pow` function raises a number to a power. Learn how to use the `pow` function in Packer templates.
---
# `pow` Function

@ -1,6 +1,6 @@
---
page_title: signum - Functions - Configuration Language
description: The signum function determines the sign of a number.
page_title: signum function reference
description: The `signum` function determines the sign of a number. Learn how to use the `signum` function in Packer templates.
---
# `signum` Function

Loading…
Cancel
Save