math_utils_n13 1.0.0 copy "math_utils_n13: ^1.0.0" to clipboard
math_utils_n13: ^1.0.0 copied to clipboard

A useful Dart library for mathematical operations.

math_utils 🚀 #

Pub GitHub stars License: MIT

A mathematics utility library for Dart.

Installation #

To add this package to your project, run the following command:

dart pub add math_utils

Or add the following to your pubspec.yaml file:

dependencies:
  math_utils: ^1.0.0

Usage #

import 'package:math_utils/math_utils.dart';

void main() {
  print(add(2, 3)); // 5
  print(subtract(7, 4)); // 3
  print(multiply(6, 8)); // 48
  print(divide(10, 2)); // 5.0
  
  print(factorial(5)); // 120
  print(average([2, 4, 6, 8])); // 5.0
}

Features #

  • ➕ Addition, ➖ Subtraction, âœ–ī¸ Multiplication, ➗ Division functions
  • â„šī¸ Factorial, Average calculation
  • 📈 Advanced mathematical operations

Contributing #

If you want to improve this package or add new features, follow these steps:

  1. Fork the repository and create your own branch
  2. Make your changes and commit them
  3. Submit a pull request

License #

MIT License

Copyright (c) 2025 Sunnat Amirov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Author #

This project is developed by Sunnat Amirov.

5
likes
150
points
9
downloads

Publisher

verified publisherugvey.uz

Weekly Downloads

A useful Dart library for mathematical operations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on math_utils_n13