Files
cariflex/tools/EVerest-main/modules/API/RpcApi/helpers/LimitDecimalPlaces.hpp
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

14 lines
391 B
C++

// SPDX-License-Identifier: Apache-2.0
// Copyright chargebyte GmbH and Contributors to EVerest
#ifndef LIMIT_DECIMAL_PLACES_HPP
#define LIMIT_DECIMAL_PLACES_HPP
#include <nlohmann/json.hpp>
namespace helpers {
double round_double(double value, int precision = 3);
void round_floats_in_json(nlohmann::json& j, int precision = 3);
} // namespace helpers
#endif // LIMIT_DECIMAL_PLACES_HPP