public static long getRounding ( long n , long k ) {
  long rounding = ( long ) Math . pow ( 10 , k ) ;
  long result = gcd ( rounding , n ) ;
  return ( ( rounding * n ) / result ) ;
}

public static long getRounding ( long n , long k ) { long rounding = ( long ) Math . pow ( 10 , k ) ; long result = gcd ( rounding , n ) ; return ( ( rounding * n ) / result ) ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (cast_expression type: (integral_type) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (identifier)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier))))) (return_statement (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier))))))