Skip to content

sergiotucano/roundabnt

Repository files navigation

Round Abnt

A Dart package to round numbers in brazilian abnt rule

Project Owner [GitHub stars] GitHub forks

Installation

flutter pub add roundabnt

Import

import 'package:roundabnt/roundabnt.dart';

Example

void main() {
  final roundabnt = RoundAbnt();

  double resp = 0.00;
  resp = roundabnt.roundAbnt(88.241,2); // return 88.24
  print('$resp');
}

About

Round numbers in brazilian abnt rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages