Bringing Multiple integers into a function

Still learning to use functions and i wanted to bring in two int so i can display them
I had void DisplayVolts() and it worked but i didn't get the volt's just the writing and 0.0
I tried what is below and got this error - code 136 expected deconstructer before (
Please tell me what i need to do ?

 DisplayVolts(MainVolts, AuxVolts)
{
    lcd.setCursor(0,0); // Sets cursor to position 1, Line 1
    lcd.print("MAIN BATT:     v"); // Prints to Line 1
    lcd.setCursor(11,0); // Sets cursor to position 11, Line 1
    lcd.print(MainVolts,1); // Prints the result stored in float Variable ( MainVolts )
    lcd.setCursor(0,1); // Sets cursor to position 1, Line 2
    lcd.print("AUX  BATT:     v"); // Prints to Line 2
    lcd.setCursor(11,1); // Sets cursor to position 11, Line 2
    lcd.print(AuxVolts,1); // Prints the result stored in float Variable ( AuxVolts )
  if(Linked == HIGH)
    {
      lcd.setCursor(10,1);
      lcd.print("LINKED");
    }
    }

Functions need to have a return type. DisplayVolts() does not have one. All arguments to a function need to be type. None of DisplayVolts() arguments are typed.

Your first line should read

void DisplayVolts(float MainVolts, float AuxVolts)

why not do a quick tutorial from the web on C? Will simplify stuff