[SalesForce] Convert double to String

I have the following double from salesforce as a number = Latitude = 50.916408140415314

I want to convert it to a string. However when I convert it to a string like this:
string.valueof(latitude) i only get the result: 50.935628

Can anyone point me in the direction of what might be wrong?

Best Answer

Found out the the formula field that I was refering only had 6 decimals.

The correct way to convert double to string is: string.valueof(acc.acc_latitude__c)