1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

make max translation work for all numbers

This commit is contained in:
Kevin Glynn 2011-02-04 12:22:11 +01:00
parent f13ac6a7d5
commit 753225903e

View File

@ -118,6 +118,22 @@
<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>