Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

matlab/test.c

Go to the documentation of this file.
00001 #include <math.h>
00002 #include <stdio.h>
00003 
00004 int main() {
00005         float a = 112.5;
00006         float b = 112.3;
00007 
00008         printf("A = %f = %d\n", a, (int) roundf(a));
00009         printf("B = %f = %d\n", b, (int) roundf(b));
00010         
00011 }

Generated on Fri Sep 1 14:25:49 2006 for Raptor by  doxygen 1.4.4