--- | |
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 | |
``` | |