| | |
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
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char char* class classes code compile console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






