Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:core
  3. Duration
  4. operator * method
operator *
description

operator * method

Durationoperator *(
  1. numfactor
)

Multiplies this Duration by the givenfactor and returns the resultas a new Duration object.

Note that whenfactor is a double, and the duration is greater than53 bits, precision is lost because of double-precision arithmetic.

Implementation

Duration operator *(num factor) {  return Duration._microseconds((_duration * factor).round());}
  1. Dart
  2. dart:core
  3. Duration
  4. operator * method
Duration class

[8]ページ先頭

©2009-2025 Movatter.jp