to_currency 0.0.1 copy "to_currency: ^0.0.1" to clipboard
to_currency: ^0.0.1 copied to clipboard

Add currency to amount

to_currency #

Add currency to amount

import 'package:to_currency/to_currency.dart';

String amount = toCurrency(
    amount: 1000,
    currency: "XOF",
    currencyPrefixed: false,
    separator: ".",
    decimalSeparator: ",",
    decimalDigits: 2,
);

String cfa = toCFA(2000)

String dollar = toDollar(50.5, decimalDigits: 2);

Getting Started #

Add this to your package's pubspec.yaml file:

2
likes
150
points
28
downloads

Publisher

verified publisherfreddydro.dev

Weekly Downloads

Add currency to amount

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on to_currency