dart_math_utils 1.0.1
dart_math_utils: ^1.0.1 copied to clipboard
A collection of basic mathematical utility functions for Dart.
Dart Math Utils #
A simple Dart package that provides basic mathematical utilities.
Features #
- Add two numbers with support for both integers and decimals
Getting started #
Add this to your package's pubspec.yaml file:
dependencies:
dart_math_utils: ^1.0.0
Usage #
import 'package:dart_math_utils/dart_math_utils.dart';
void main() {
// Add two integers
var sum = add(5, 3);
print(sum); // Output: 8
// Add two decimals
var decimalSum = add(2.5, 3.7);
print(decimalSum); // Output: 6.2
}