PowerShell で変数型の最大値と最小値を求める

更新 2020/04/18

この記事の内容
  1. 方法
  2. 例文

方法

# 最小値
[型名]::Minvalue

# 最大値
[型名]::MaxValue

例文

# int 型の最小値
[int]::Minvalue

# int 型の最大値
[int]::MaxValue
ページの先頭へ ↑