Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:core
  3. BigInt
  4. operator / abstract method
operator /
description

operator / abstract method

doubleoperator /(
  1. BigIntother
)

Double division operator.

Matching the similar operator onint,this operation first performstoDouble on both this big integerandother, then doesdouble.operator/ on those values andreturns the result.

Note: The initialtoDouble conversion may lose precision.

Example:

print(BigInt.from(1) / BigInt.from(2)); // 0.5print(BigInt.from(1.99999) / BigInt.from(2)); // 0.5

Implementation

double operator /(BigInt other);
  1. Dart
  2. dart:core
  3. BigInt
  4. operator / abstract method
BigInt class

[8]ページ先頭

©2009-2025 Movatter.jp