c++ - How to convert a number to 0.mynumber -


how can convert number 0. , number?

so

int = 50; float = 0.i //wrong code :d 

or what? how can it?

float = i; while( >= 1.0f ) /= 10.0f; 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -