changing type of a variable

Does anyone know of a way to change the type of a variable (e.g. float
to double) without copying and rewriting the entire file?

thanks

Cathy S.
cas@xxxxxxxxxxxx