{"id":62084,"library":"decimal-for-cpp","title":"decimal-for-cpp","description":"Decimal data type support, for COBOL-like fixed-point operations on currency values.","status":"active","version":"1.18","language":"cpp","source_language":null,"source_url":null,"tags":["decimal","fixed-point","currency","cobol"],"install":[{"cmd":"vcpkg install decimal-for-cpp","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(decimal_for_cpp CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE decimal-for-cpp::decimal-for-cpp)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"decimal.h","correct":"#include <decimal.h>"}],"quickstart":{"code":"#include <decimal.h>\nint main() { decimal::Decimal d(\"123.45\"); return 0; }","lang":"cpp","description":"Create a decimal value from a string."},"warnings":[],"env_vars":null,"search_vec":"'cobol':11,25 'cobol-lik':10 'cpp':4 'currenc':18,24 'data':6 'decim':2,5,20 'decimal-for-cpp':1 'fix':14,22 'fixed-point':13,21 'like':12 'oper':16 'point':15,23 'support':8 'type':7 'valu':19","created_at":"2026-06-17T05:16:19.063561+00:00","updated_at":"2026-06-17T05:16:19.063561+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}