Sql Money | Coderz Product

sql_money

Last updated:

0 purchases

sql_money Image
sql_money Images

Free

Languages

Categories

Add to Cart

Description:

sql money

A Money Library to replicate functionality of the ms-sql money type, and Delphi Currency type
which is a numeric type accurate and rounded to 4dp. All Equivalences are converted to SqlMoney first before
evaluation. All operations are done first, then converted.
Usage #
A simple usage example:
import 'package:sql_money/sql_money.dart';

main() {
var value = SqlMoney(12.45);
print(value); // 12.4500
value += SqlMoney('3.00456');
print(value); // 15.4546
value += 38.00089;
print(value); // 53.4555
print(value.toStringAsFixed(2));

print(SqlMoney(0) + '123.456' + 789.023); //912.4790
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.