NullableNumExtensions extension

Provides an extension method for num that is nullable.

Nullableなnum用の拡張メソッドを提供します。

on

Properties

isEmpty bool
Returns true if num is null or 0.
no setter
isNotEmpty bool
Returns true if num is not Null or 0.
no setter

Methods

toStringWithCommas(int fractionDigits) String
Converts to comma-delimited strings used for currency and other purposes.

Operators

operator %(num? other) num?
Performs remainder operations on nullable num values.
operator *(num? other) num?
Performs multiplication by a nullable num value.
operator +(num? other) num?
Performs addition with a nullable num value.
operator -(num? other) num?
Performs subtraction with a nullable num value.
operator /(num? other) double?
Performs division by a nullable num value.
operator ~/(num? other) int?
Performs truncated division by a nullable num value.