Dear all, how to do convert decimal to float in c
T Thread Starter teleng Joined Dec 15, 2010 9 Jan 9, 2012 #1 Dear all, how to do convert decimal to float in c
ErnieM Joined Apr 24, 2011 8,353 Jan 9, 2012 #2 You don't need to do more then just cast the type and the compiler will do it for you. Rich (BB code): float F; int I; F = (float) I;
You don't need to do more then just cast the type and the compiler will do it for you. Rich (BB code): float F; int I; F = (float) I;