Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 704 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 704 Bytes

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');
}