Float Functions cutting off decimals

I am having a problem with functions cutting off decimal points. for ex:

float GetFloat(void)
{
    float f = 1.23456;
    Serial.println(f,6);      // I get 1.23456
    return f;
} 


void setup(void)
{
  Serial.begin(9600);
  float f = GetFloat();
  Serial.println(f,6);         // I get 1.23
}

void loop(void)
{
  delay(1000);
}

How to I get it to return the full float from the function?

*edit: replaced pseudo code for real code

That's not what I get... I get compilation errors.

Try posting real code.

1.234560
1.234560

NFF

Did you perhaps have

void setup(void)
{
  Serial.begin(9600);
  float f = GetFloat();
  Serial.println(f);         // I get 1.23
}

originally?

Yea, it was a typo, thanks