Ratio
#include <iostream>
#include <ratio>

int main(int argc, char *argv[])
{
	std::ratio<1, 3> oneThird;//variable
	std::cout<<oneThird.num<<"/"<<oneThird.den<<std::endl;

	typedef std::ratio<2, 4> twoFourth;//variable type
	std::cout<<twoFourth::num<<"/"<<twoFourth::den<<std::endl;

	//ratio_add
	typedef std::ratio_add<decltype(oneThird), twoFourth> sum;
	std::cout<<sum::num<<"/"<<sum::den<<std::endl;

	return 0;
}
			
TypeDescription
std::nano10-9
std::micro10-6
std::milli10-3
std::centi10-2
std::deci10-1
std::kilo103
std::mega106
#include <iostream>
#include <ratio>

int main(int argc, char *argv[])
{
	//std::milli
	std::cout<<std::milli::num<<"/"<<std::milli::den<<std::endl;

	return 0;
}
		
Reference