A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.hashicorp.com/terraform/language/v1.13.x/functions/signum below:

signum - Functions - Configuration Language | Terraform

HashiCorp Cloud Platform

Get started in minutes with our cloud products

All HCP Products Learn

Terraform

Terraform Home

Configuration Language

You are viewing documentation for pre-release version v1.13.x (rc). View latest version.

  1. Developer
  2. Terraform
  3. Configuration Language v1.13.x

signum Function

signum determines the sign of a number, returning a number between -1 and 1 to represent the sign.

Examples
> signum(-13)
-1
> signum(0)
0
> signum(344)
1
Edit this page on GitHub

On this page:

  1. signum Function
  2. Examples

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4