-Fixed some warnings
-Added support for int, float, long double values.