https://github.com/theluqmn/calculator.rb
A CLI calculator made with Ruby
https://github.com/theluqmn/calculator.rb
calculator console ruby
Last synced: 2 months ago
JSON representation
A CLI calculator made with Ruby
- Host: GitHub
- URL: https://github.com/theluqmn/calculator.rb
- Owner: theluqmn
- Created: 2023-09-14T21:05:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T03:35:40.000Z (about 2 years ago)
- Last Synced: 2025-01-30T09:42:29.141Z (over 1 year ago)
- Topics: calculator, console, ruby
- Language: Ruby
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby Calculator
## About
An on-terminal calculator made using Ruby.
Unlike other calculators I've made, this one has the ability to store
variables with values, either an int or float.
The result of the `calc` operation will the stored in the default built-in
`ans` variable, which can is a valid input.
When prompted for an input, for the `calc` or `var` operation which
requires a value, simply enter a number or valid existing variable
name.