Left factorials: Difference between revisions
→{{header|PowerShell}}
(used enlarged (big) formulas (that express left factorials) so that the accents display better for readability.) |
|||
Line 1,196:
$digits = [BigInt]::Log10($(left-factorial $i))
$digits = [Math]::Floor($digits) + 1
if($i -
else {"!$i has $digits digit"}
}
|