I have written a relatively big program that has lot’s of calculations.
Then I realized I’m using double precision, instead of simple float.
So I’m looking for the painless way to automatically convert all doubles to floats.
Simple “replace all” won’t work, it reports cca 142 errors
Cannot implicitly convert type 'double' to 'float'. An explicit conversion exists (are you missing a cast?)
And currently I’m not in mood to rewrite 142 lines in (float)( ……………)
So, has somebody any idea ?