Delete Scripts directory
This commit is contained in:
parent
a053acc0ab
commit
422934aef7
10 changed files with 0 additions and 213 deletions
|
|
@ -1,15 +0,0 @@
|
|||
function ConvertFrom-Bit {
|
||||
param (
|
||||
$bit
|
||||
)
|
||||
[int]$int = 0
|
||||
$bits = $bit.ToString().ToCharArray()
|
||||
$index = ($bits.Count)-1
|
||||
foreach ($b in $bits) {
|
||||
if ($b -notlike 0) {
|
||||
$int += [math]::Pow(2,$index)
|
||||
}
|
||||
$index -= 1
|
||||
}
|
||||
$int
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue