dart_math_utils 1.0.1 copy "dart_math_utils: ^1.0.1" to clipboard
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
}

Additional information #

0
likes
135
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of basic mathematical utility functions for Dart.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on dart_math_utils