NumCpp  2.11.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
num2str.hpp
Go to the documentation of this file.
1 #pragma once
29 
30 #include <string>
31 
33 
34 namespace nc::utils
35 {
36  //============================================================================
43  template<typename dtype>
44  std::string num2str(dtype inNumber)
45  {
47 
48  return std::to_string(inNumber);
49  }
50 } // namespace nc::utils
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:39
Definition: Utils/cube.hpp:33
std::string num2str(dtype inNumber)
Definition: num2str.hpp:44