binary_counter 0.0.3+2 binary_counter: ^0.0.3+2 copied to clipboard
A library for performing binary operations.
Binary Counter #
A library for performing binary operations. Hecho en 🇵🇷 por Radamés J. Valentín Reyes.
Import #
import 'package:binary_counter/binary_counter.dart';
Functions #
- Random binary number generator
generateRandomBinaryNumber(
length: 128,
);
- Binary addition
binaryAddition(
binaryNumber1: "0101",
binaryNumber2: "1111",
);
- Binary Subtraction
binarySubtraction(
binaryNumber: "11001010",
binaryAmountToSubtract: "10011011",
);
- Binary Multiplication
String result = binaryMultiplication(binaryNumber: "10", times: "10");
print(result);
- Binary Division
- Binary to DEC