C++ boost Number
C++ examples for boost:Number
Click the following links for the tutorial for boost and Number.
Converting from double to int
Boost project provides a conversion class lexical_cast that does the same thing for numeric strings of base 10.
Formatting integers as hexadecimal with Boost format.hpp
Testing Whether a String Contains a Valid Number
Converting Between Numeric Types such as an int to a short or a vice versa, catch any overflow or underflow errors at runtime.
Using the Boost Random library