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:
parent
f13ac6a7d5
commit
753225903e
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user