Skip to content

round (Function)

Round a number to specified decimal places.

Example Usage

locals {
  example_result = sum(
    # Function arguments here
  )
}

output "function_result" {
  description = "Result of sum function"
  value       = local.example_result
}

Signature

round(number, precision)

Arguments