Contact: aviboots(AT)netvision.net.il
41,163 questions
53,655 answers
573 users
package main import ( "fmt" "math" ) func main() { f := 983.6571 n := int(math.Floor(math.Abs(f) * 10)) % 10 fmt.Println(n) } /* run: 6 */