static float perimeter ( float r ) {
  return ( float ) ( ( 3.14 ) * ( r ) ) ;
}

static float perimeter ( float r ) { return ( float ) ( ( 3.14 ) * ( r ) ) ; }
(method_declaration (modifiers) type: (floating_point_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (floating_point_type) name: (identifier))) body: (block (return_statement (cast_expression type: (floating_point_type) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (decimal_floating_point_literal)) right: (parenthesized_expression (identifier))))))))