static Number parseLongOrBigInt(S s) { BigInt i = bigint(s); if (canConvertToLong(i)) ret toLong(i); ret i; }
Began life as a copy of #1017239
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032670 | 
| Snippet name: | parseLongOrBigInt | 
| Eternal ID of this version: | #1032670/1 | 
| Text MD5: | 9eeb2a9235a885417f20c2cef70d79c3 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-10-01 15:39:46 | 
| Source code size: | 119 bytes / 5 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 328 / 361 | 
| Referenced in: | [show references] |