---
title: math.ToDegrees
description: ToDegrees converts radians into degrees.
categories: []
keywords: []
action:
  aliases: []
  related:
    - functions/math/ToRadians
    - functions/math/Pi
  returnType: float64
  signatures: [math.ToDegrees VALUE]
---

{{< new-in 0.130.0 />}}

```go-html-template
{{ math.ToDegrees 1.5707963267948966 }} → 90
```
