indonesia 2.0.0 copy "indonesia: ^2.0.0" to clipboard
indonesia: ^2.0.0 copied to clipboard

Convert into rupiah

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:indonesia/indonesia.dart';

main() {
  // Currency
  rupiah(123456789); // Rp 123.456.789
  rupiah(
    123456789,
    separator: ',',
    trailing: '.00'
  ); // Rp 123,456,789.00

  // Date
  DateTime date = DateTime.now();
  tanggal(date); // 12 April 1996
  tanggal(date, shortMonth: true); // 12 Apr 1996
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

10
likes
115
pub points
78%
popularity

Publisher

unverified uploader

Convert into rupiah

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on indonesia