File: math.go

package info (click to toggle)
delve 1.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 15,084 kB
  • sloc: ansic: 111,947; sh: 194; asm: 147; makefile: 43; python: 23
file content (12 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
package main

import "math"

var f = 1.5

func main() {
	floatvar1 := math.Floor(f)
	floatvar2 := float64(int(f))
	_ = floatvar1
	_ = floatvar2
}