Here's an example of a simple Kotlin function that takes in an integer parameter and returns the square of that number:

fun square(num: Int): Int {
    return num * num
}

You can call this function elsewhere in your code like this:

val result = square(5)
println(result) // Output: 25
simple kotlin function example