1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
2011-02-04 12:22:11 +01:00

203 lines
4.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
<Imports />
<Java>Math</Java>
<Name>System.Math</Name>
<Uses />
<Inherits> <Type>System.Object</Type> </Inherits>
<Methods>
<Method>
<Imports />
<Java>Math.abs(${d})</Java>
<Params>
<Param>
<Type>System.Double</Type>
<Name>d</Name>
</Param>
</Params>
<Name>Abs</Name>
<Return>System.Double</Return>
</Method>
<Method>
<Imports />
<Java>Math.floor(${d})</Java>
<Params>
<Param>
<Type>System.Decimal</Type>
<Name>d</Name>
</Param>
</Params>
<Name>Floor</Name>
<Return>System.Decimal</Return>
</Method>
<Method>
<Imports />
<Java>Math.floor(${d})</Java>
<Params>
<Param>
<Type>System.Double</Type>
<Name>d</Name>
</Param>
</Params>
<Name>Floor</Name>
<Return>System.Double</Return>
</Method>
<Method>
<Imports />
<Java>Math.floor(${d})</Java>
<Params>
<Param>
<Type>System.Double</Type>
<Name>d</Name>
</Param>
</Params>
<Name>Floor</Name>
<Return>System.Double</Return>
</Method>
<Method>
<Imports />
<Java>Math.min(${a},${b})</Java>
<Params>
<Param>
<Type>System.Int32</Type>
<Name>a</Name>
</Param>
<Param>
<Type>System.Int32</Type>
<Name>b</Name>
</Param>
</Params>
<Name>Min</Name>
<Return>System.Int32</Return>
</Method>
<Method>
<Imports />
<Java>Math.min(${a},${b})</Java>
<Params>
<Param>
<Type>System.Double</Type>
<Name>a</Name>
</Param>
<Param>
<Type>System.Double</Type>
<Name>b</Name>
</Param>
</Params>
<Name>Min</Name>
<Return>System.Double</Return>
</Method>
<Method>
<Imports />
<Java>Math.max(${a},${b})</Java>
<Params>
<Param>
<Type>System.Int32</Type>
<Name>a</Name>
</Param>
<Param>
<Type>System.Int32</Type>
<Name>b</Name>
</Param>
</Params>
<Name>Max</Name>
<Return>System.Int32</Return>
</Method>
<Method>
<Imports />
<Java>Math.max(${a},${b})</Java>
<Params>
<Param>
<Type>System.Double</Type>
<Name>a</Name>
</Param>
<Param>
<Type>System.Double</Type>
<Name>b</Name>
</Param>
</Params>
<Name>Max</Name>
<Return>System.Double</Return>
</Method>
<Method>
<Imports />
<Java>Math.max(${a},${b})</Java>
<Params>
<Param>
<Type>System.Number</Type>
<Name>a</Name>
</Param>
<Param>
<Type>System.Number</Type>
<Name>b</Name>
</Param>
</Params>
<Name>Max</Name>
<Return>System.Number</Return>
</Method>
<Method>
<Imports />
<Java>Math.round(${d})</Java>
<Params>
<Param>
<Type>System.Decimal</Type>
<Name>d</Name>
</Param>
</Params>
<Name>Round</Name>
<Return>System.Decimal</Return>
</Method>
<Method>
<Imports />
<Java>Math.round(${d})</Java>
<Params>
<Param>
<Type>System.Double</Type>
<Name>d</Name>
</Param>
</Params>
<Name>Round</Name>
<Return>System.Double</Return>
</Method>
<Method>
<Imports />
<Java>(Math.round(${d}*Math.pow(10,${decimals})) / Math.pow(10,${decimals}))</Java>
<Params>
<Param>
<Type>System.Decimal</Type>
<Name>d</Name>
</Param>
<Param>
<Type>System.Int32</Type>
<Name>decimals</Name>
</Param>
</Params>
<Name>Round</Name>
<Return>System.Decimal</Return>
</Method>
<Method>
<Imports />
<Java>(Math.round(${d}*Math.pow(10,${decimals})) / Math.pow(10,${decimals}))</Java>
<Params>
<Param>
<Type>System.Double</Type>
<Name>d</Name>
</Param>
<Param>
<Type>System.Int32</Type>
<Name>decimals</Name>
</Param>
</Params>
<Name>Round</Name>
<Return>System.Double</Return>
</Method>
</Methods>
<Properties />
<Events />
<Indexers />
<Constructors />
<Fields />
<Casts />
<UnaryOps />
<BinaryOps />
</Class>