SyntaxFix
Write A Post
Hire A Developer
Questions
Check out the boost NumericConversion library. It will allow to explicitly control how you want to deal with issues like overflow handling and truncation.