Feb 20, 2013 #1 H HAIDE Junior Member level 3 Joined Feb 9, 2012 Messages 27 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location GERMANY Activity points 1,525 divide and log function in Codevision Hi, Any one know what is the problem of following code, I dunno why it is not working in AVR Codevision float c; int a=30; int b=500; c=(float)exp(a/b); sprintf(in_display,"c= %f", c); lcd_gotoxy(0,0); lcd_puts(in_display);
divide and log function in Codevision Hi, Any one know what is the problem of following code, I dunno why it is not working in AVR Codevision float c; int a=30; int b=500; c=(float)exp(a/b); sprintf(in_display,"c= %f", c); lcd_gotoxy(0,0); lcd_puts(in_display);