[ create a new paste ] login | about

Link: http://codepad.org/oBfZXj25    [ raw code | output | fork ]

C++, pasted on Mar 4:
1
2
3
4
5
6
7
#include <iostream.h>

int main() {
    float a = 1234.5f;
    std::cout << a << " " << (int)a << "\n";
    return 0;
}


Output:
1
1234.5 1234


Create a new paste based on this one


Comments: