## Digit Sphere — VSCode Extension
This extension provides useful math utility functions to quickly round, ceil, and floor numbers, etc in your code. Powered by JavaScript's ## ✨ Features**Round Numbers**: Adjust numbers to specified decimal places with ease.**Ceil Numbers**: Round up to the nearest specified decimal place.**Floor Numbers**: Round down to the nearest specified decimal place.**Absolute Value**: Get the absolute value of a number without any prompts.**Square Root**: Calculate the square root of a number without any prompts.**Random Integer**: Generate a random integer between a specified minimum and maximum value with prompts for the range.**Calculate Sine**: Get the sine of the selected number.**Calculate Cosine**: Get the cosine of the selected number.**Calculate Tangent**: Get the tangent of the selected number.
## 🚀 Installation- Install the extension from the Visual Studio Code Marketplace.
- Open the command palette (Ctrl+Shift+P or Cmd+Shift+P) and search for
**Digit Sphere**commands.
## 🛠️ Usage- Select the number(s) you want to adjust in the editor.
- Open the command palette and run one of the following commands:
`Digit Sphere: Round Number` 🔄`Digit Sphere: Ceil Number` ⬆️`Digit Sphere: Floor Number` ⬇️`Digit Sphere: Absolute Value` ➕`Digit Sphere: Square Root` √`Digit Sphere: Random Integer` 🎲`Digit Sphere: Calculate Sine` 🔄`Digit Sphere: Calculate Cosine` 🔄`Digit Sphere: Calculate Tangent` 🔄
- Enter the number of decimal places or other required parameters as prompted.
- The selected numbers will be modified accordingly!
## ⚙️ ConfigurationYou can customize the default decimal places for rounding, ceiling, and flooring operations. To do so, update the setting in your VSCode preferences: `digitSphere.defaultDecimalPlaces` : Default number of decimal places for rounding operations (default is 2).
## 📜 LicenseThis project is licensed under the MIT License. See the LICENSE file for more details. |