NumCpp  2.1.0
A C++ implementation of the Python Numpy library
num2str.hpp
Go to the documentation of this file.
1 #pragma once
30 
32 
33 #include <string>
34 
35 namespace nc
36 {
37  namespace utils
38  {
39  //============================================================================
46  template<typename dtype>
47  std::string num2str(dtype inNumber)
48  {
50 
51  return std::to_string(inNumber);
52  }
53  } // namespace utils
54 } // namespace nc
StaticAsserts.hpp
STATIC_ASSERT_ARITHMETIC
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
nc::utils::num2str
std::string num2str(dtype inNumber)
Definition: num2str.hpp:47
nc
Definition: Coordinate.hpp:45