私はスタートアップにPowerShellを登録しており、いつでも使えるようにしています。
最近では電卓として使用することが多いです。
四則演算子以外にも下記のような.NET Frameworkの数学関数が使用できるので、重宝します。
PowerShellを電卓として使用するメリットとして、
などがあげられます。
短所は、Windowsに付属の電卓と違ってSinとかも「ボタン一発」ではなく一文字一文字入力しなければ行けないことでしょうか?
Mathクラスの使用方法ですが、
PS C:\Work> [Math]::Sqrt(4) 2 PS C:\Work> [Math]::Pow(2,5) 32
のように [Math]::メソッド と記述します。
ぜひ電卓としても使用してみてください。慣れると重宝すること間違いなしです。
Theme design by Jelle Druyts
Pick a theme: BlogXP business calmBlue Candid Blue dasBlog dasblogger DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves Tricoleur useit.com Voidclass2 BlogXP business calmBlue Candid Blue dasBlog dasblogger DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves Tricoleur useit.com Voidclass2
Powered by: newtelligence dasBlog 2.0.7226.0
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008, HIRO
E-mail