types/Int.Types.ps1xml

<?xml version="1.0" encoding="utf-8" ?>
<Types>
    <Type>
        <Name>System.Int16</Name>
        <Members>
            <ScriptProperty>
                <Name>Factorial</Name>
                <GetScriptBlock>
                    Get-Factorial $this
                </GetScriptBlock>
            </ScriptProperty>
            <ScriptProperty>
                <Name>Permutations</Name>
                <GetScriptBlock>
                    Get-Permutation $this
                </GetScriptBlock>
            </ScriptProperty>
            <ScriptMethod>
                <Name>ToMoney</Name>
                <Script>
                    Format-MoneyValue $this
                </Script>
            </ScriptMethod>
        </Members>
    </Type>
    <Type>
        <Name>System.Int32</Name>
        <Members>
            <ScriptProperty>
                <Name>Factorial</Name>
                <GetScriptBlock>
                    Get-Factorial $this
                </GetScriptBlock>
            </ScriptProperty>
            <ScriptProperty>
                <Name>Permutations</Name>
                <GetScriptBlock>
                    Get-Permutation $this
                </GetScriptBlock>
            </ScriptProperty>
            <ScriptMethod>
                <Name>ToMoney</Name>
                <Script>
                    Format-MoneyValue $this
                </Script>
            </ScriptMethod>
        </Members>
    </Type>
    <Type>
        <Name>System.Int64</Name>
        <Members>
            <ScriptProperty>
                <Name>Factorial</Name>
                <GetScriptBlock>
                    Get-Factorial $this
                </GetScriptBlock>
            </ScriptProperty>
            <ScriptProperty>
                <Name>Permutations</Name>
                <GetScriptBlock>
                    Get-Permutation $this
                </GetScriptBlock>
            </ScriptProperty>
            <ScriptMethod>
                <Name>ToMoney</Name>
                <Script>
                    Format-MoneyValue $this
                </Script>
            </ScriptMethod>
        </Members>
    </Type>
    <Type>
        <Name>System.Double</Name>
        <Members>
            <ScriptProperty>
                <Name>Factorial</Name>
                <GetScriptBlock>
                    Get-Factorial $this
                </GetScriptBlock>
            </ScriptProperty>
            <ScriptProperty>
                <Name>Permutations</Name>
                <GetScriptBlock>
                    Get-Permutation $this
                </GetScriptBlock>
            </ScriptProperty>
            <ScriptMethod>
                <Name>ToMoney</Name>
                <Script>
                    Format-MoneyValue $this
                </Script>
            </ScriptMethod>
        </Members>
    </Type>
</Types>