| 1 | static int iround(double d) {
 | 
| 2 | ret (int) Math.round(d); | 
| 3 | } | 
| 4 | |
| 5 | ifndef iround_noGeneric | 
| 6 | static int iround(Number n) {
 | 
| 7 | ret iround(toDouble(n)); | 
| 8 | } | 
| 9 | endifndef | 
Began life as a copy of #1002176
download show line numbers debug dex old transpilations
Travelled to 23 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, elmgxqgtpvxh, gjtlkbvenryc, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, ofpaelxlmzfo, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1003741 | 
| Snippet name: | iround - round to int | 
| Eternal ID of this version: | #1003741/3 | 
| Text MD5: | da5798988c038eb69781f60a59640987 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-08-09 20:21:10 | 
| Source code size: | 160 bytes / 9 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 1157 / 3672 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |