mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
Math.round(Single)
This commit is contained in:
parent
63c36a65e9
commit
896b3345aa
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
@ -166,6 +166,18 @@
|
||||
<Name>Round</Name>
|
||||
<Return>System.Double</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>Math.round(${s})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Single</Type>
|
||||
<Name>s</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Round</Name>
|
||||
<Return>System.Single</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>(Math.round(${d}*Math.pow(10,${decimals})) / Math.pow(10,${decimals}))</Java>
|
||||
|
Loading…
x
Reference in New Issue
Block a user