issues Search Results · repo:a14n/dart-decimal language:Dart
Filter by
81 results
(79 ms)81 results
ina14n/dart-decimal (press backspace or delete to remove)It is recommended that you use big_decimal.
It is hoped that the author can read and deeply understand the implementation of Java s large number of calculations and
use DART languages. Or abandon the ...
feiquan666
- 8
- Opened on Aug 16, 2024
- #109
@JsonCodable()
class User {
final Decimal? test;
User(this.test);
}
augment library file:///D:/project/macro_test/bin/macro_test.dart ;
import dart:core as prefix0;
import package:decimal/decimal.dart ...
jzllovecat
- 1
- Opened on Jul 30, 2024
- #108
Hello.
flutter: 3.22.1
decimal: 3.0.1
intl: 0.19.0
Compact formatter works good for integer decimal values, like here
final result = DecimalFormatter(NumberFormat.compact()).format(Decimal.parse( 1000.0 ...
chris-rutkowski
- 2
- Opened on Jun 9, 2024
- #107
Why when dividing 89.7869 by 1 the console displays 897869/10000 instead of 89.7869?
print(Decimal.parse( 89.7869 ) / Decimal.one);
I/flutter ( 4826): 897869/10000
iddqd-dev
- 2
- Opened on May 31, 2024
- #106
version: 2.3.3
var testVal = Decimal.parse(
12345678901234567890123456789012345678901234567890.1234567890123456789012345678901234567890123456789 );
String tmp = ;
var start = DateTime.now(); ...
RelicOfTesla
- 3
- Opened on May 3, 2024
- #104
When performing calculations with Rational values, we can end up with unexpected type errors:
var oneThird = Decimal.one / Decimal.parse( 3 );
var result = Decimal.parse( 3.14 ) * oneThird;
Resulting ...
ralf-vogel
- 1
- Opened on Apr 29, 2024
- #103
import package:decimal/decimal.dart ;
Decimal formatDecimal(Decimal value) {
String formattedString = value.toStringAsFixed(2);
return Decimal.parse(formattedString);
}
void main() {
Decimal decimalValue ...
vasanthmn1
- 1
- Opened on Apr 8, 2024
- #102
Hi, Thanks for you library, i have a problem with the case below :
const value = 934815969.69241506;
print(value.toString()); // 934815969.6924151
= Expected Result // 934815969.69241506
I ...
spaquis
- 2
- Opened on Mar 4, 2024
- #101
As a context for crypto currencies I need to be able to format decimal numbers with up to 20 decimals.
final decimal = Decimal.fromInt(1000);
final formatter = NumberFormat(
0.0################### ...
felix-larsen
- 1
- Opened on Feb 4, 2023
- #96
Can we have const constructors? If this is possible we can t use it as a default value.
class MyModel {
final Decimal discountAmount;
const MyModel({
this.discountAmount = const Decimal.fromInt(0), ...
hurelhuyag
- 1
- Opened on Jan 20, 2023
- #95

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.