3#include <userver/chaotic/convert.hpp>
4#include <userver/decimal64/decimal64.hpp>
8namespace chaotic::convert {
10template <
int Prec,
typename RoundPolicy>
12 chaotic::convert::
To<std::string>) {
13 return ToString(value);
16template <
int Prec,
typename RoundPolicy>
18 const std::string& str,
23template <
int Prec,
typename RoundPolicy>
30template <
int Prec,
typename RoundPolicy>
32 chaotic::convert::
To<
int>) {
33 return value.ToInteger();