blob: 54416d8342d991a375d1577e662b57e22e16d1b8 [file] [log] [blame] [view]
---
title: TruncatedFloat
layout: article
---
<!-- Copyright 2023 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file. -->
<!-- Code generated by generrordocs.go; DO NOT EDIT. -->
```
TruncatedFloat occurs when a float constant is truncated to an integer
value.
Example:
var _ int = 98.6
```