| | |
seperating a decimal
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
One option is something like:
c Syntax (Toggle Plain Text)
float in = 131.14567f; int left = (int)in; float right = left - in;
![]() |
Similar Threads
- very new to programming and need help bad please (C++)
- Program Seems to be right but still some confusion on output into columns (C++)
Other Threads in the C++ Forum
- Previous Thread: priority queue ordering
- Next Thread: Hello Everyone
Views: 531 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api application array arrays based beginner binary c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete developer display dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg search simple sort sorting spoonfeeding string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






