You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
388 B

package main
import (
"fmt"
"piscine"
)
func main() {
fmt.Print(piscine.NotDecimal("0.1"))
fmt.Print(piscine.NotDecimal("174.2"))
fmt.Print(piscine.NotDecimal("0.1255"))
fmt.Print(piscine.NotDecimal("1.20525856"))
fmt.Print(piscine.NotDecimal("-0.0f00d00"))
fmt.Print(piscine.NotDecimal(""))
fmt.Print(piscine.NotDecimal("-19.525856"))
fmt.Print(piscine.NotDecimal("1952"))
}