Type add(Type a, Type b) { Type value = a + b; return value; } // add 関数の型引数「 Type 」を float 型として呼び出す float x = add(1.1, 2.2); println(x);