How to save double type by using string type

How to save double type by using string type which is represented by fraction. For instance, "39/12903"