{"id":22882372,"url":"https://github.com/loresoft/calculator","last_synced_at":"2026-03-01T14:34:50.344Z","repository":{"id":15307262,"uuid":"18037127","full_name":"loresoft/Calculator","owner":"loresoft","description":"Calculator.NET - Calculator that evaluates math expressions","archived":false,"fork":false,"pushed_at":"2016-07-08T20:04:46.000Z","size":3475,"stargazers_count":100,"open_issues_count":5,"forks_count":50,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-14T00:57:34.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loresoft.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-23T16:05:39.000Z","updated_at":"2025-11-23T14:30:13.000Z","dependencies_parsed_at":"2022-08-19T09:50:12.734Z","dependency_job_id":null,"html_url":"https://github.com/loresoft/Calculator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/loresoft/Calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loresoft","download_url":"https://codeload.github.com/loresoft/Calculator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FCalculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29970998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T14:11:48.712Z","status":"ssl_error","status_checked_at":"2026-03-01T14:11:48.352Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T18:17:13.135Z","updated_at":"2026-03-01T14:34:50.318Z","avatar_url":"https://github.com/loresoft.png","language":"C#","readme":"Calculator.NET\n==========\n\nCalculator.NET - Calculator that evaluates math expressions\n\n[![Build Status](https://ci.appveyor.com/api/projects/status/i4vqogfwurshk6ff?svg=true)](https://ci.appveyor.com/project/LoreSoft/calculator)\n\n[![GitHub Release](https://img.shields.io/github/release/loresoft/Calculator.svg)](https://github.com/loresoft/Calculator/releases)\n\n[![Github Releases](https://img.shields.io/github/downloads/loresoft/Calculator/latest/total.svg)](https://github.com/loresoft/Calculator/releases)\n\nThe library supports math expressions, functions unit conversion and variables. Below are some examples of using the library directly.\n\n    MathEvaluator eval = new MathEvaluator();\n    //basic math\n    double result = eval.Evaluate(\"(2 + 1) * (1 + 2)\");\n    //calling a function\n    result = eval.Evaluate(\"sqrt(4)\");\n    //evaluate trigonometric \n    result = eval.Evaluate(\"cos(pi * 45 / 180.0)\");\n    //convert inches to feet\n    result = eval.Evaluate(\"12 [in-\u003eft]\");\n    //use variable\n    result = eval.Evaluate(\"answer * 10\");\n    //add variable\n    eval.Variables.Add(\"x\", 10);\n    result = eval.Evaluate(\"x * 10\");\n    \nCalculator that evaluates math expressions. \n\n![Calculator.NET](https://raw.githubusercontent.com/loresoft/Calculator/master/Documentation/Calculator.NET.png)\n\n### Calculator.NET Features\n\n* Evaluate math expressions including grouping\n* Support trigonometry and other function\n* Common unit conversion of the following types\n    * Length\n    * Mass\n    * Speed\n    * Temperature\n    * Time\n    * Volume\n* Variable support including last answer\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floresoft%2Fcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floresoft%2Fcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floresoft%2Fcalculator/lists"}