Template Function icrar::fixed

Function Documentation

template<int N, typename T>
inline detail::_fixed<N, T> icrar::fixed(T v)

When streamed, this manipulator will print the given value with a precision of N decimal places.

Template Parameters:
  • N – number of decimal places

  • T – input type

Parameters:

v – The value to send to the stream

Returns:

detail::_fixed<N, T>