
import java.util.Scanner

object Main extends App {

  val sc = new Scanner(System.in)

  val (n, m, d) = (sc.nextLong, sc.nextLong, sc.nextLong)

  val p = 2.0 * (n - d) / (n * n)

  println(p * (m - 1))
}
